Jan Dittberner
6edbe17a3b
* add userdbs app docstring * add userdbs.app.UserdbsAppConfig * implement userdbs.admin.DatabaseUserCreationForm, userdbs.admin.UserDatabaseCreationForm, userdbs.admin.DatabaseUserAdmin, userdbs.admin.UserDatabaseAdmin * add docstrings to userdbs.models * rename userdbs.models.DatabaseUserManager._get_next_username to _get_next_dbuser_name * fix format string issues in userdbs.models.DatabaseUserManager and userdbs.UserDatabaseManager._get_next_dbname * delete related databases in userdbs.models.UserDatabase.delete
18 lines
418 B
Python
18 lines
418 B
Python
"""
|
|
This module contains the :py:class:`django.apps.AppConfig` instance for the
|
|
:py:mod:`userdbs` app.
|
|
|
|
"""
|
|
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
class UserdbsAppConfig(AppConfig):
|
|
"""
|
|
AppConfig for the :py:mod:`userdbs` app.
|
|
|
|
"""
|
|
name = 'userdbs'
|
|
verbose_name = _('Database Users and their Databases')
|