diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 04:54:53 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 04:54:53 +0100 |
commit | 6a755598b2595c4c38d61da5d2c7f608a3905cbe (patch) | |
tree | ab35bc47be40efd1c4be5b8fe747cf33e7cca868 /core/forms.py | |
parent | df3917a6771d2e2df3d35fde1b99a6f1d06f9589 (diff) | |
download | troggle-6a755598b2595c4c38d61da5d2c7f608a3905cbe.tar.gz troggle-6a755598b2595c4c38d61da5d2c7f608a3905cbe.tar.bz2 troggle-6a755598b2595c4c38d61da5d2c7f608a3905cbe.zip |
Moved classes to models_caves and fixed imports
Diffstat (limited to 'core/forms.py')
-rw-r--r-- | core/forms.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/forms.py b/core/forms.py index b8d2e07..e8e620c 100644 --- a/core/forms.py +++ b/core/forms.py @@ -1,12 +1,16 @@ -from django.forms import ModelForm -from .models import Cave, Person, PersonExpedition, LogbookEntry, QM, Expedition, Entrance, CaveAndEntrance +import string +from datetime import date + import django.forms as forms +from django.forms import ModelForm from django.forms.models import modelformset_factory from django.contrib.admin.widgets import AdminDateWidget -import string -from datetime import date + from tinymce.widgets import TinyMCE +from troggle.core.models import Person, PersonExpedition, LogbookEntry, Expedition +from troggle.core.models_caves import Cave, QM, Entrance, CaveAndEntrance + class CaveForm(ModelForm): underground_description = forms.CharField(required = False, widget=forms.Textarea()) explorers = forms.CharField(required = False, widget=forms.Textarea()) |