This website requires JavaScript.
Explore
Help
Register
Sign in
DGNum
/
gestioCOF
Watch
16
Star
2
Fork
You've already forked gestioCOF
1
Code
Issues
78
Pull requests
14
Projects
Releases
12
Packages
Wiki
Activity
1ae5c80f76
gestioCOF
/
events
/
admin.py
6 lines
94 B
Python
Raw
Normal View
History
Unescape
Escape
New 'events' app, first model The objective is to move (at some point) all the management logic in this app. Before that time: as long as the events app does not have all the features necessary to be used in production it is only available in dev mode and coexists with the old event system. When it's ready we'll move the old events in the new app (data migration) and remove the old system.
2019-10-05 14:34:30 +02:00
from
django
.
contrib
import
admin
isort events.admin
2019-10-07 18:44:36 +02:00
New 'events' app, first model The objective is to move (at some point) all the management logic in this app. Before that time: as long as the events app does not have all the features necessary to be used in production it is only available in dev mode and coexists with the old event system. When it's ready we'll move the old events in the new app (data migration) and remove the old system.
2019-10-05 14:34:30 +02:00
from
events
.
models
import
Event
admin
.
site
.
register
(
Event
)
Reference in a new issue
Copy permalink