Skip to content

Commit

Permalink
Merge pull request #967 from ubyssey/upgrade-django
Browse files Browse the repository at this point in the history
Upgrade Django
  • Loading branch information
keeganland authored Jun 4, 2020
2 parents 495aeec + 3853a52 commit 2eb6df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dispatch/admin/urls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import re_path
from django.contrib.auth import views as auth_views
from django.conf import settings
from django.shortcuts import render_to_response
from django.shortcuts import render
from dispatch.admin import views
import dispatch

Expand All @@ -13,7 +13,7 @@ def admin(request):
'app_css_bundle': 'manager-%s.css' % dispatch.__version__
}

return render_to_response('manager/index.html', context)
return render(request, 'manager/index.html', context)

urlpatterns = [
re_path(r'signup/(?P<uuid>[0-9a-f-]+)/', views.signup, name='dispatch-signup'),
Expand Down
2 changes: 1 addition & 1 deletion dispatch/modules/podcasts/feeds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.contrib.syndication.views import Feed
from django.utils.feedgenerator import Rss201rev2Feed
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.templatetags.static import static
from django.conf import settings

from dispatch.modules.podcasts.models import Podcast, PodcastEpisode
Expand Down

0 comments on commit 2eb6df3

Please sign in to comment.