changing namespace and urls
This commit is contained in:
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'),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user