Add AppConfigs to example app and multiselectfield

This commit is contained in:
Drew Hubl 2017-02-21 14:37:22 -07:00
parent 346b8e3f41
commit 5057ef9e67
4 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1 @@
default_app_config = 'app.apps.AppAppConfig'

6
example/app/apps.py Normal file
View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class AppAppConfig(AppConfig):
name = 'app'
verbose_name = 'app'

View file

@ -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
View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class MultiSelectFieldConfig(AppConfig):
name = 'multiselectfield'
verbose_name = 'Multiselect Field'