mirror of
https://github.com/pinry/pinry.git
synced 2026-01-24 08:09:21 +01:00
Delete Pin.__init__ as we are not doing anything special
This commit is contained in:
@@ -11,9 +11,6 @@ class PinForm(forms.Form):
|
||||
description = forms.CharField(label='Description', required=False, widget=forms.Textarea)
|
||||
tags = TagField()
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(forms.Form, self).__init__(*args, **kwargs)
|
||||
|
||||
def check_if_image(self, data):
|
||||
# Test file type
|
||||
image_file_types = ['png', 'gif', 'jpeg', 'jpg']
|
||||
|
||||
Reference in New Issue
Block a user