X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b2d72160e2a68991c66ea6017b871d7f42c0b29d..22aac0da99594406b261f14c135812c855c196ef:/apps/api/forms.py diff --git a/apps/api/forms.py b/apps/api/forms.py deleted file mode 100644 index 2b09e178..00000000 --- a/apps/api/forms.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- encoding: utf-8 -*- - -__author__= "Łukasz Rekucki" -__date__ = "$2009-09-20 21:34:52$" -__doc__ = "Micro-forms for the API." - - -from django import forms - -class DocumentGetForm(forms.Form): - autocabinet = forms.BooleanField(required=False) - - -class DocumentUploadForm(forms.Form): - ocr = forms.FileField(label='Source OCR file') - bookname = forms.RegexField(regex=r'[0-9\.\w_-]+', \ - label='Publication name', help_text='Example: slowacki-beniowski') - - generate_dc = forms.BooleanField(required=False, initial=True, label=u"Generate DublinCore template") -