diff options
Diffstat (limited to 'demo/forms.py')
-rw-r--r-- | demo/forms.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/demo/forms.py b/demo/forms.py deleted file mode 100644 index aea1ce7..0000000 --- a/demo/forms.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django import forms - -from bootstrap3.tests import TestForm - -RADIO_CHOICES = ( - ('1', 'Radio 1'), - ('2', 'Radio 2'), -) - -MEDIA_CHOICES = ( - ('Audio', ( - ('vinyl', 'Vinyl'), - ('cd', 'CD'), - ) - ), - ('Video', ( - ('vhs', 'VHS Tape'), - ('dvd', 'DVD'), - ) - ), - ('unknown', 'Unknown'), -) - - -class ContactForm(TestForm): - pass - - -class FilesForm(forms.Form): - text1 = forms.CharField() - file1 = forms.FileField() - file2 = forms.FileField(required=False) - file3 = forms.FileField(widget=forms.ClearableFileInput) - file4 = forms.FileField(required=False, widget=forms.ClearableFileInput) |