Added seperate minerals detail page
This commit is contained in:
parent
07c6260bde
commit
d5867c8d4a
6 changed files with 34 additions and 5 deletions
|
|
@ -6,6 +6,7 @@ urlpatterns = patterns(
|
|||
'',
|
||||
url(r'^$', views.HomeView.as_view(), name='home'),
|
||||
url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
|
||||
url(r'^(?P<pk>\d+)/$', views.MineralDetailView.as_view(), name='mineral_detail'),
|
||||
url(r'^media/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root': settings.MEDIA_ROOT}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue