gas-drf/gas_drf/apps.py

14 lines
341 B
Python
Raw Permalink Normal View History

2022-03-21 17:48:13 +01:00
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class GASDRFConfig(AppConfig):
default_auto_field = 'django.db.models.AutoField'
name = 'gas_drf'
verbose_name = _('GAS DRF')
def ready(self):
from .sites import drfsite
super().ready()
drfsite.autodiscover()