Skip to content

Commit

Permalink
removed 1.4 url pattern, #269
Browse files Browse the repository at this point in the history
  • Loading branch information
sehmaschine committed Sep 8, 2015
1 parent 3b93547 commit a6cab97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions filebrowser/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,7 @@ def _directory_set(self, val):

def get_urls(self):
"URLs for a filebrowser.site"
try:
from django.conf.urls import url, patterns
except ImportError:
# for Django version less then 1.4
from django.conf.urls.defaults import url, patterns
from django.conf.urls import url, patterns

# filebrowser urls (views)
urlpatterns = patterns(
Expand Down

0 comments on commit a6cab97

Please sign in to comment.