Skip to content

Commit

Permalink
[#40] Add missing urls files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Oct 1, 2015
1 parent ddb3f5d commit c4f3c78
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from django.conf.urls import url

urlpatterns = [
url(r'^$', 'cove.input.views.input', name='index'),
url(r'^data/(.+)$', 'cove.views.explore', name='explore'),
url(r'^dataload/$', 'cove.dataload.views.dataload', name='dataload'),
url(r'^dataload/([^/]+)/$', 'cove.dataload.views.dataset', name='dataload_dataset'),
url(r'^dataload/([^/]+)/([^/]+)$', 'cove.dataload.views.run_process', name='dataload_dataset'),
url(r'^stats', 'cove.views.stats', name='stats'),
]
7 changes: 7 additions & 0 deletions modules/urls_multi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.conf.urls import include, url
from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
url(r'^', include('urls', namespace='cove-resourceprojects', app_name='cove')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

1 comment on commit c4f3c78

@Bjwebb
Copy link
Contributor Author

@Bjwebb Bjwebb commented on c4f3c78 Oct 1, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also fixes #39

Please sign in to comment.