Skip to content
Browse files

setting up urls

  • Loading branch information...
1 parent 9622fbd commit 22e476904ee30e3e61e83dbf1e4fd821367518c5 Brian Boyer committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 censusweb/config/urls.py
  2. 0 censusweb/manage.py
View
3 censusweb/config/urls.py
@@ -1,4 +1,5 @@
from django.conf.urls.defaults import *
+from datathing import views
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
@@ -13,4 +14,6 @@
# Uncomment the next line to enable the admin:
# (r'^admin/', include(admin.site.urls)),
+
+ (r'^datathing\.(?P<extension>(json)|(csv))', views.theapi)
)
View
0 censusweb/manage.py 100644 → 100755
File mode changed.

0 comments on commit 22e4769

Please sign in to comment.
Something went wrong with that request. Please try again.