Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BDE
nk20
Commits
9db72d4f
Commit
9db72d4f
authored
Jul 08, 2019
by
Pierre-antoine Comby
Browse files
register models
parent
7a0efe1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
note/admin.py
View file @
9db72d4f
from
django.contrib
import
admin
from
.models
import
NoteClub
,
NoteSpec
,
NoteUser
from
.models
import
Alias
# Register your models here.
admin
.
site
.
register
(
NoteClub
)
admin
.
site
.
register
(
NoteSpec
)
admin
.
site
.
register
(
NoteUser
)
admin
.
site
.
register
(
Alias
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment