-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- catch up with Django 1.9 deprecation notices
- fix for issue #11 (missing import patterns) note dowser is not compatible with Django 1.3 templating engine - pep8
- Loading branch information
Showing
12 changed files
with
302 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
try: | ||
from django.conf.urls import * | ||
from django.conf.urls import url | ||
except ImportError: | ||
from django.conf.urls.defaults import * | ||
from django.conf.urls.defaults import url | ||
|
||
from . import views | ||
|
||
urlpatterns = patterns('django_dowser.views', | ||
url(r'^trace/(?P<typename>[\.\-\w]+)$', 'trace', name='dowser_trace_type'), | ||
url(r'^trace/(?P<typename>[\.\-\w]+)/(?P<objid>\d+)$', 'trace', name='dowser_trace_object'), | ||
url(r'^tree/(?P<typename>[\.\-\w]+)/(?P<objid>\d+)$', 'tree', name='dowser_tree'), | ||
url(r'^$', 'index', name='dowser_index'), | ||
) | ||
urlpatterns = [ | ||
url(r'^trace/(?P<typename>[\.\-\w]+)$', views.trace, name='dowser_trace_type'), | ||
url(r'^trace/(?P<typename>[\.\-\w]+)/(?P<objid>\d+)$', views.trace, name='dowser_trace_object'), | ||
url(r'^tree/(?P<typename>[\.\-\w]+)/(?P<objid>\d+)$', views.tree, name='dowser_tree'), | ||
url(r'^$', views.index, name='dowser_index'), | ||
] |
Oops, something went wrong.