ft_transcendence/srcs/.venv/lib/python3.11/site-packages/restapi/apps.py

11 lines
209 B
Python
Raw Permalink Normal View History

2023-11-23 10:43:30 -05:00
from django.apps import AppConfig
from django.utils.module_loading import autodiscover_modules
class RestapiConfig(AppConfig):
name = 'restapi'
def ready(self):
autodiscover_modules('api')