forgot to save on forms/__init__.py after creating form/annotations.py
authordurandn
Tue, 21 Jun 2016 15:40:54 +0200
changeset 26 f583d7af1f65
parent 25 843863132ac9
child 29 b3768547ad3d
forgot to save on forms/__init__.py after creating form/annotations.py
src/iconolab/forms/__init__.py
--- a/src/iconolab/forms/__init__.py	Tue Jun 21 14:58:28 2016 +0200
+++ b/src/iconolab/forms/__init__.py	Tue Jun 21 15:40:54 2016 +0200
@@ -1,14 +0,0 @@
-from django.forms import ModelForm, HiddenInput
-from iconolab.models import AnnotationRevision
-
-
-class AnnotationRevisionForm(ModelForm):
-	class Meta:
-		model = AnnotationRevision
-		fields = ('title', 'description', 'fragment',)
-		widgets = {
-			'fragment': HiddenInput(),
-		}
-
-	def is_valid(self):
-		return True
\ No newline at end of file