diff --git a/{{cookiecutter.repo_name}}/requirements/base.txt b/{{cookiecutter.repo_name}}/requirements/base.txt index 200ee9a0..d375d659 100644 --- a/{{cookiecutter.repo_name}}/requirements/base.txt +++ b/{{cookiecutter.repo_name}}/requirements/base.txt @@ -32,3 +32,6 @@ https://bitbucket.org/andrewgodwin/south/get/59f6bae8b1a501ca14a5f23f8b11c44c42f # django-crispy-forms with support for Bootstrap 3 git+git://github.com/maraujop/django-crispy-forms@42c84a9b02d885de249c1d003c2e7ad031283c26 + + +# Your custom requirements go here \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py index 278d5b6c..6072c30c 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py @@ -182,6 +182,7 @@ THIRD_PARTY_APPS = ( # Apps specific for this project go here. LOCAL_APPS = ( 'users', # custom users app + # Your custom apps go here ) # See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/urls.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/urls.py index d796beff..d9b2ead2 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/urls.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/urls.py @@ -21,9 +21,14 @@ urlpatterns = patterns('', # Uncomment the next line to enable the admin: url(r'^admin/', include(admin.site.urls)), + # User management url(r'^users/', include("users.urls", namespace="users")), - url(r'^users/', include("users.urls", namespace="users")), - #url(r'^avatar/', include('avatar.urls')), url(r'^accounts/', include('allauth.urls')), + + # Uncomment the next line to enable avatars + #url(r'^avatar/', include('avatar.urls')), + + # Your custom urls go here + ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)