Skip to content

Commit

Permalink
Add/update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Feb 14, 2017
1 parent c35f44c commit a03d2cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion finder/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.conf.urls import url
# @see https://docs.djangoproject.com/en/1.10/topics/i18n/translation/
# @see https://docs.djangoproject.com/en/1.10/topics/i18n/translation/ Django 1.10
from django.views.i18n import javascript_catalog

from finder import views
Expand Down
5 changes: 4 additions & 1 deletion represent/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@
'loaders': [
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
# @see https://docs.djangoproject.com/en/1.10/releases/1.9/#id1 Django 1.9
'django.template.loaders.eggs.Loader',
],
},
},
]

MIDDLEWARE_CLASSES = list(global_settings.MIDDLEWARE_CLASSES) + [ # Django < 1.10
# @see https://docs.djangoproject.com/en/1.10/releases/1.9/#default-settings-that-were-tuples-are-now-lists Django 1.9
# @see https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-middleware Django 1.10
MIDDLEWARE_CLASSES = list(global_settings.MIDDLEWARE_CLASSES) + [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
Expand Down
1 change: 1 addition & 0 deletions represent/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
admin.autodiscover()

urlpatterns = [
# @see https://docs.djangoproject.com/en/1.10/releases/1.9/#passing-a-3-tuple-or-an-app-name-to-include Django 1.9
url(r'^admin/', include(admin.site.urls)),
url('', include('boundaries.urls')),
url('', include('representatives.urls')),
Expand Down

0 comments on commit a03d2cc

Please sign in to comment.