Skip to content

Commit

Permalink
Fixed url import for django1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Oct 2, 2014
1 parent c029910 commit cba1fcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/test_project/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
try:
from django.conf.urls.defaults import *
except ImportError:
from django.conf.urls import patterns, url, include

from django.contrib import admin
admin.autodiscover()
Expand Down

0 comments on commit cba1fcf

Please sign in to comment.