summaryrefslogtreecommitdiff
path: root/stapp/video
diff options
context:
space:
mode:
authorParth Buch2012-06-18 16:59:44 +0530
committerParth Buch2012-06-18 16:59:44 +0530
commitc6104f941b5027a6c170e66abd28e45f2c42f92b (patch)
tree2cbd9449d3fbc88b2954b8bad6e7d04a0d88dfd6 /stapp/video
parentee03c66e02e5ae1e83508e635404b879fea8a23f (diff)
downloadstproject-c6104f941b5027a6c170e66abd28e45f2c42f92b.tar.gz
stproject-c6104f941b5027a6c170e66abd28e45f2c42f92b.tar.bz2
stproject-c6104f941b5027a6c170e66abd28e45f2c42f92b.zip
Removed the authentication codes
Diffstat (limited to 'stapp/video')
-rw-r--r--stapp/video/urls.py4
-rw-r--r--stapp/video/views.py3
2 files changed, 1 insertions, 6 deletions
diff --git a/stapp/video/urls.py b/stapp/video/urls.py
index 15d387d..243a5e8 100644
--- a/stapp/video/urls.py
+++ b/stapp/video/urls.py
@@ -1,11 +1,7 @@
from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('video.views',
- url(r'^login/$','user_login'),
- url(r'^register/$','user_register'),
url(r'^view/$', 'show'),
url(r'^view/(?P<video_id>\d+)/$', 'show'),
- url(r'^logout/$','user_logout'),
-
)
diff --git a/stapp/video/views.py b/stapp/video/views.py
index 2144592..8361b9f 100644
--- a/stapp/video/views.py
+++ b/stapp/video/views.py
@@ -1,8 +1,7 @@
from django.http import HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response, get_object_or_404, redirect
-from video.models import *
-
+from video.models import Video
def show(request,video_id=None):
videos = Video.objects.all()