mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
Add Django appconfig for overriding the name in the admin
This commit is contained in:
parent
6fbde482af
commit
70fb31c190
2 changed files with 9 additions and 0 deletions
|
|
@ -1 +1,3 @@
|
|||
__version__ = "2.0"
|
||||
|
||||
default_app_config = 'dbtemplates.apps.DBTemplatesConfig'
|
||||
|
|
|
|||
7
dbtemplates/apps.py
Normal file
7
dbtemplates/apps.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from django.apps import AppConfig
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class DBTemplatesConfig(AppConfig):
|
||||
name = 'dbtemplates'
|
||||
verbose_name = _('Database templates')
|
||||
Loading…
Reference in a new issue