fix urls.py for django 1.3 compatibility

This commit is contained in:
Darrell Enns 2013-03-18 11:58:07 -07:00
parent 8f0a80d322
commit a4b3185525

View File

@ -8,6 +8,10 @@ urls.py - Mapping of URL's to our various views. Note we always used NAMED
"""
from django.conf import settings
import django
if django.get_version().startswith("1.3"):
from django.conf.urls.defaults import *
else:
from django.conf.urls import *
from django.contrib.auth.decorators import login_required