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
62cd62e8
Commit
62cd62e8
authored
May 23, 2020
by
Florent Chehab
Committed by
Maxime Emschwiller
May 23, 2020
Browse files
feature(backend): init stats app to get stats about site activity
parent
0ad5e5e7
Changes
4
Hide whitespace changes
Inline
Side-by-side
backend/base_app/settings/main.py
View file @
62cd62e8
...
...
@@ -64,6 +64,7 @@ INSTALLED_APPS = [
"backend_app"
,
"base_app"
,
"external_data"
,
"stats_app"
,
"webpack_loader"
,
"django_filters"
,
]
...
...
backend/stats_app/__init__.py
0 → 100644
View file @
62cd62e8
backend/stats_app/admin.py
0 → 100644
View file @
62cd62e8
from
django.contrib
import
admin
from
stats_app.models
import
DailyConnections
admin
.
site
.
register
(
DailyConnections
)
backend/stats_app/apps.py
0 → 100644
View file @
62cd62e8
from
django.apps
import
AppConfig
class
StatsAppConfig
(
AppConfig
):
name
=
"stats_app"
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