Create activities
This commit is contained in:
parent
213e5a8369
commit
45b14ed1bd
4 changed files with 36 additions and 12 deletions
12
apps/activity/forms.py
Normal file
12
apps/activity/forms.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from django import forms
|
||||
|
||||
from activity.models import Activity
|
||||
|
||||
|
||||
class ActivityForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Activity
|
||||
fields = '__all__'
|
||||
Loading…
Add table
Add a link
Reference in a new issue