kopia lustrzana https://gitlab.com/marnanel/chapeau
AppConfigs set default_auto_field
Django used to default this, but it generates a warning now.main
rodzic
4d63fd669d
commit
8a0deb6c93
|
@ -0,0 +1,5 @@
|
|||
import django.apps
|
||||
|
||||
class SombreroApiConfig(django.apps.AppConfig):
|
||||
name = 'kepi.sombrero_sendpub'
|
||||
default_auto_field = 'django.db.models.AutoField'
|
|
@ -1,5 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
import django.apps
|
||||
|
||||
|
||||
class TrilbyApiConfig(AppConfig):
|
||||
class TrilbyApiConfig(django.apps.AppConfig):
|
||||
name = 'kepi.trilby_api'
|
||||
default_auto_field = 'django.db.models.AutoField'
|
||||
|
|
Ładowanie…
Reference in New Issue