Added primitive Update Event feature.

This commit is contained in:
heinzel committed 2018-01-25 14:53:44 +01:00
1 parent 379a7f9a92
commit 1c22d1c879
8 files changed
+95 -13

No files matched your search

+7
View File
@@ -17,6 +17,13 @@ logger = logging.getLogger(__name__)
DEVELOPMENT_INIT_FORMS = False
class EventUpdateForm(forms.ModelForm):
class Meta:
model = models.Event
fields = '__all__'
exclude = ('accepted', 'accepted_at', 'accepted_by')
class EventCreateForm(ChainedForm):
_model = models.Event
_initial_form_name = 'ModeForm'