summaryrefslogtreecommitdiff
path: root/stapp
diff options
context:
space:
mode:
authorParth Buch2012-07-20 13:21:02 +0530
committerParth Buch2012-07-20 13:21:02 +0530
commitef0ff535971b76e4420641f3aef8a472cd7c3dc5 (patch)
tree2225187d3d2b76c0ecb82dade0120488f78a148e /stapp
parent8097b44789183fdcbbdfb4474b5a905c03366239 (diff)
downloadstproject-ef0ff535971b76e4420641f3aef8a472cd7c3dc5.tar.gz
stproject-ef0ff535971b76e4420641f3aef8a472cd7c3dc5.tar.bz2
stproject-ef0ff535971b76e4420641f3aef8a472cd7c3dc5.zip
Changes the urls to serve from root url
Diffstat (limited to 'stapp')
-rw-r--r--stapp/urls.py2
-rw-r--r--stapp/video/urls.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/stapp/urls.py b/stapp/urls.py
index 3748bae..219148b 100644
--- a/stapp/urls.py
+++ b/stapp/urls.py
@@ -8,7 +8,7 @@ from video.views import *
admin.autodiscover()
urlpatterns = patterns('',
- url(r'^video/', include('video.urls')),
+ url(r'^$', include('video.urls')),
url(r'^admin/', include(admin.site.urls)),
)
diff --git a/stapp/video/urls.py b/stapp/video/urls.py
index 243a5e8..e45cb7c 100644
--- a/stapp/video/urls.py
+++ b/stapp/video/urls.py
@@ -1,7 +1,7 @@
from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('video.views',
- url(r'^view/$', 'show'),
+ url(r'^$', 'show'),
url(r'^view/(?P<video_id>\d+)/$', 'show'),
)