feat(backend): Ajout du logger django [#7]

This commit is contained in:
Luc SORIGNET
2024-11-18 16:21:24 +01:00
parent af0cd1c840
commit b8511f94b6
5 changed files with 82 additions and 18 deletions

View File

@ -19,12 +19,12 @@ from django.urls import include, path, re_path
from rest_framework import permissions
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
from __version__ import __version__
schema_view = get_schema_view(
openapi.Info(
title="N3wtSchool API",
default_version='v1',
default_version=__version__,
description="Documentation de l'API de N3wtSchool",
terms_of_service="https://www.google.com/policies/terms/",
contact=openapi.Contact(email="contact@example.com"),