This website requires JavaScript.
Explore
Help
Register
Sign In
cst1
/
kpsul
Watch
1
Star
0
Fork
You've already forked kpsul
0
forked from
DGNum/gestioCOF
Code
Pull requests
Activity
48dd2571bc
kpsul
/
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
)
Copy permalink