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
Rex Dri
Rex Dri
Commits
33c21fae
Unverified
Commit
33c21fae
authored
May 30, 2020
by
Gautier D
Committed by
Florent Chehab
May 31, 2020
Browse files
fix(backend): register stats to custom admin site
parent
2fb16ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/stats_app/admin.py
View file @
33c21fae
from
django.contrib
import
admin
from
base_app.admin
import
admin
_site
from
stats_app.models
import
DailyConnections
admin
.
site
.
register
(
DailyConnections
)
admin
_
site
.
register
(
DailyConnections
)
Write
Preview
Markdown
is supported
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