1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 10:28:21 +02:00

Create activities

This commit is contained in:
Yohann D'ANELLO
2020-03-27 01:31:54 +01:00
parent 213e5a8369
commit 45b14ed1bd
4 changed files with 36 additions and 12 deletions

12
apps/activity/forms.py Normal file
View 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__'