changing namespace and urls
This commit is contained in:
parent
dd8614fdff
commit
08e36dacb1
19 changed files with 68 additions and 94 deletions
9
project_directory/three_d_viewer/urls.py
Normal file
9
project_directory/three_d_viewer/urls.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from django.conf.urls import patterns, url
|
||||
from three_d_viewer import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', views.IndexView.as_view(), name='index'),
|
||||
url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
|
||||
)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue