1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-04 01:32:08 +02:00

Fully test logs app

This commit is contained in:
Yohann D'ANELLO
2020-09-24 14:30:24 +02:00
parent 1979d33314
commit a2ce495a6b
4 changed files with 34 additions and 7 deletions

View File

@ -10,8 +10,8 @@ router = routers.DefaultRouter()
router.register('user', UserViewSet)
if "logs" in settings.INSTALLED_APPS:
from logs.api.views import ChangelogViewSet
router.register('logs', ChangelogViewSet)
from logs.api.urls import register_logs_urls
register_logs_urls(router, "logs")
app_name = 'api'