Add AppConfigs to example app and multiselectfield
This commit is contained in:
parent
346b8e3f41
commit
5057ef9e67
4 changed files with 16 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
default_app_config = 'app.apps.AppAppConfig'
|
6
example/app/apps.py
Normal file
6
example/app/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AppAppConfig(AppConfig):
|
||||
name = 'app'
|
||||
verbose_name = 'app'
|
|
@ -1,2 +1,5 @@
|
|||
from multiselectfield.db.fields import MultiSelectField # noqa: F401
|
||||
from multiselectfield.forms.fields import MultiSelectFormField # noqa: F401
|
||||
|
||||
|
||||
default_app_config = 'multiselectfield.apps.MultiSelectFieldConfig'
|
||||
|
|
6
multiselectfield/apps.py
Normal file
6
multiselectfield/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class MultiSelectFieldConfig(AppConfig):
|
||||
name = 'multiselectfield'
|
||||
verbose_name = 'Multiselect Field'
|
Loading…
Reference in a new issue