Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Commit

Permalink
Update to Django==1.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jul 29, 2016
1 parent fb8e7ad commit 590d124
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions djangopeople/settings.py
Expand Up @@ -73,6 +73,9 @@ def gettext(s):
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'OPTIONS': {
'builtins': [
'django.templatetags.i18n',
],
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
Expand Down
5 changes: 1 addition & 4 deletions djangopeople/urls.py
Expand Up @@ -6,14 +6,11 @@
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.http import HttpResponse, HttpResponseGone
from django.shortcuts import redirect
from django.template.base import add_to_builtins

from .django_openidauth import views as django_openidauth_views
from .django_openidconsumer import views as django_openidconsumer_views
from .djangopeople import views, api

add_to_builtins('django.templatetags.i18n')


def perm_redirect(url):
return lambda req: redirect(url, permanent=True)
Expand All @@ -31,7 +28,7 @@ def gone(request):
return HttpResponseGone()

urlpatterns = [
url(r'^admin/', include(admin.site.urls), name='admin'),
url(r'^admin/', admin.site.urls),
url(r'^$', views.index, name='index'),
url(r'^login/$', auth_views.login,
{'template_name': 'login.html'}, name='login'),
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
Django==1.8.14
Django==1.9.8
boto==2.42.0
dj-database-url==0.4.1
django-classy-tags==0.7.2
Expand Down

0 comments on commit 590d124

Please sign in to comment.