Skip to content

Commit

Permalink
Update for latest Django
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Jul 10, 2014
1 parent 84a4c1b commit 4ba2d2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions agon/admin.py
@@ -1,6 +1,7 @@
from functools import update_wrapper

from django.shortcuts import render_to_response, redirect
from django.template import RequestContext
from django.utils.functional import update_wrapper

from django.contrib import admin
from django.contrib.admin import helpers
Expand Down Expand Up @@ -30,7 +31,7 @@ def reason_display(self, obj):
reason_display.short_description = "reason"

def get_urls(self):
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url

urlpatterns = super(AwardedPointValueAdmin, self).get_urls()

Expand Down

0 comments on commit 4ba2d2c

Please sign in to comment.