diff --git a/fileupload/forms.py b/fileupload/forms.py deleted file mode 100644 index b7c49fe..0000000 --- a/fileupload/forms.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.forms import ModelForm -from fileupload.models import Picture - -class PictureForm(ModelForm): - - class Meta: - model = Picture - diff --git a/fileupload/templates/fileupload/picture_form.html b/fileupload/templates/fileupload/picture_form.html index 19c389e..3fc74cb 100644 --- a/fileupload/templates/fileupload/picture_form.html +++ b/fileupload/templates/fileupload/picture_form.html @@ -25,13 +25,10 @@
+ {% csrf_token %}