Added primitive Update Event feature.

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

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'