Skip to content

Commit

Permalink
django.conf.urls.default compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kaufhold committed Jan 20, 2015
1 parent 1b4a363 commit 545fcc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion booking/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
"""URLs for the booking app."""
from django.conf.urls.defaults import patterns, url
try:
from django.conf.urls import patterns, url
except ImportError: # Pre-Django 1.4 version
from django.conf.urls.defaults import patterns, url



from . import views

Expand Down
1 change: 1 addition & 0 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ def read(fname):
'django-hvad',
'django-libs>=1.35',
],
dependency_links=['https://bitbucket.org/dkaufhold/django-international/get/4628c1c87c6c.zip'],
)

0 comments on commit 545fcc3

Please sign in to comment.