mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 23:40:29 +02:00
Log DB modifications
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
from django.conf import settings
|
||||
from django.conf.urls import url, include
|
||||
from rest_framework import routers
|
||||
|
||||
@ -8,6 +9,10 @@ from .viewsets import UserViewSet
|
||||
router = routers.DefaultRouter()
|
||||
router.register('user', UserViewSet)
|
||||
|
||||
if "logs" in settings.INSTALLED_APPS:
|
||||
from logs.api.views import ChangelogViewSet
|
||||
router.register('logs', ChangelogViewSet)
|
||||
|
||||
app_name = 'api'
|
||||
|
||||
# Wire up our API using automatic URL routing.
|
||||
|
Reference in New Issue
Block a user