Skip to content

Commit

Permalink
Fix URLs setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillon committed Sep 9, 2019
1 parent 4a16b68 commit 9e4cdea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions djide/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from django.conf.urls.defaults import patterns, include, url

from django.conf.urls import url
import djide.views
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
#
urlpatterns = patterns('',
url(r'^$', 'djide.views.edit', name='edit'),
url(r'^tree-data$', 'djide.views.tree_data', name='treedata'),
url(r'^model-editor', 'djide.views.model_editor', name='modeleditor'),
)
urlpatterns = [
url(r'^$', djide.views.edit, name='edit'),
url(r'^tree-data$', djide.views.tree_data, name='treedata'),
url(r'^model-editor', djide.views.model_editor, name='modeleditor'),
]

0 comments on commit 9e4cdea

Please sign in to comment.