mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-11 00:22:29 +03:00
remove south
This commit is contained in:
parent
94bca534b0
commit
eefdf06fb0
|
@ -13,7 +13,6 @@ django-crispy-forms==1.4.0
|
||||||
django-floppyforms==1.2.0
|
django-floppyforms==1.2.0
|
||||||
|
|
||||||
# Models
|
# Models
|
||||||
South==1.0
|
|
||||||
django-model-utils==2.2
|
django-model-utils==2.2
|
||||||
|
|
||||||
# images
|
# images
|
||||||
|
|
|
@ -37,9 +37,11 @@ class Common(Configuration):
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
)
|
)
|
||||||
THIRD_PARTY_APPS = (
|
THIRD_PARTY_APPS = (
|
||||||
'south', # Database migration helpers:
|
|
||||||
'crispy_forms', # Form layouts
|
'crispy_forms', # Form layouts
|
||||||
'avatar', # for user avatars
|
'avatar', # for user avatars
|
||||||
|
'allauth', # registration
|
||||||
|
'allauth.account', # registration
|
||||||
|
'allauth.socialaccount', # registration
|
||||||
)
|
)
|
||||||
|
|
||||||
# Apps specific for this project go here.
|
# Apps specific for this project go here.
|
||||||
|
@ -50,14 +52,6 @@ class Common(Configuration):
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
||||||
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
|
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
|
||||||
|
|
||||||
INSTALLED_APPS += (
|
|
||||||
# Needs to come last for now because of a weird edge case between
|
|
||||||
# South and allauth
|
|
||||||
'allauth', # registration
|
|
||||||
'allauth.account', # registration
|
|
||||||
'allauth.socialaccount', # registration
|
|
||||||
)
|
|
||||||
# END APP CONFIGURATION
|
# END APP CONFIGURATION
|
||||||
|
|
||||||
# MIDDLEWARE CONFIGURATION
|
# MIDDLEWARE CONFIGURATION
|
||||||
|
|
0
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/manage.py
Normal file → Executable file
0
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/manage.py
Normal file → Executable file
Loading…
Reference in New Issue
Block a user