Skip to content
This repository was archived by the owner on Oct 13, 2018. It is now read-only.

Fix for django.conf.urls.default deprecated in 1.4 #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion frontendadmin/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from django.conf.urls.defaults import *
try:
from django.conf.urls.defaults import *
except:
from django.conf.urls import *
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not need a star-import here, does it?
(don't know for Django < 1.4)

from frontendadmin.views import add, change, delete, success, success_delete
from django.views.decorators.cache import never_cache

Expand Down