Browse Source

Delete Pin.__init__ as we are not doing anything special

tags/v1.0.0
Krzysztof Klimonda 11 years ago
parent
commit
2b5ae4829d
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      pinry/pins/forms.py

+ 0
- 3
pinry/pins/forms.py View File

@@ -11,9 +11,6 @@ class PinForm(forms.Form):
description = forms.CharField(label='Description', required=False, widget=forms.Textarea) description = forms.CharField(label='Description', required=False, widget=forms.Textarea)
tags = TagField() tags = TagField()


def __init__(self, *args, **kwargs):
super(forms.Form, self).__init__(*args, **kwargs)

def check_if_image(self, data): def check_if_image(self, data):
# Test file type # Test file type
image_file_types = ['png', 'gif', 'jpeg', 'jpg'] image_file_types = ['png', 'gif', 'jpeg', 'jpg']


Loading…
Cancel
Save