mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 16:48:50 +01:00
fix urls.py for django 1.3 compatibility
This commit is contained in:
parent
8f0a80d322
commit
a4b3185525
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user