Skip to content

Commit

Permalink
Update compat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeskens committed Jan 10, 2014
1 parent 502e439 commit 70a7a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_states/compat.py
@@ -1,6 +1,6 @@
# Django >= 1.4 moves handler404, handler500, include, patterns and url from
# django.conf.urls.defaults to django.conf.urls.
try:
from django.conf.urls import (patterns, url)
from django.conf.urls import (patterns, url, include)
except ImportError:
from django.conf.urls.defaults import (patterns, url)
from django.conf.urls.defaults import (patterns, url, include)

0 comments on commit 70a7a7f

Please sign in to comment.