mirror of
https://github.com/c0de-archive/django-gallery.git
synced 2025-08-07 23:48:47 +00:00
Adding the Account app
This commit is contained in:
@@ -41,6 +41,7 @@ EMAIL_HOST_PASSWORD = ''
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'account.apps.AccountConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
|
@@ -13,9 +13,10 @@ Including another URLconf
|
||||
1. Import the include() function: from django.conf.urls import url, include
|
||||
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.conf.urls import url
|
||||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^account/', include('account.urls')),
|
||||
url(r'^admin/', admin.site.urls),
|
||||
]
|
||||
|
@@ -8,9 +8,11 @@ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
import gallery.gzip
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gallery.settings")
|
||||
|
||||
application = get_wsgi_application()
|
||||
application = gallery.gzip.UnzipRequestMiddleware(application)
|
||||
|
Reference in New Issue
Block a user