Switch to using apps.py with Users app

This commit is contained in:
Daniel Roy Greenfeld 2016-06-18 13:18:40 -07:00
parent 1a4f000940
commit bf15e018c2
2 changed files with 15 additions and 1 deletions

View File

@ -43,7 +43,8 @@ THIRD_PARTY_APPS = (
# Apps specific for this project go here.
LOCAL_APPS = (
'{{ cookiecutter.project_slug }}.users', # custom users app
# custom users app
'{{ cookiecutter.project_slug }}.users.apps.UsersConfig',
# Your stuff: custom apps go here
)

View File

@ -0,0 +1,13 @@
from django.apps import AppConfig
class UsersConfig(AppConfig):
name = '{{cookiecutter.project_slug}}.users'
verbose_name = "Users"
def ready(self):
"""Override this to put in:
Users system checks
Users signal registration
"""
pass