Commit 2574f32c authored by Ben Waters's avatar Ben Waters
Browse files

last minute hacks

parent 2e195a7f
......@@ -35,7 +35,7 @@ urlpatterns = patterns('stepup.views',
# organization
url(r'^organization/(?P<slug>[^\.]+)', 'organization', name = 'view_organization'),
url(r'^tag/(?P<slug>[^\.]+)', 'tag', name = 'view_tag'),
#url(r'^tag/(?P<slug>[^\.]+)', 'tag', name = 'view_tag'),
# all organizations
url(r'^organization/', 'all_organizations', name = 'view_all_organization'),
......
......@@ -158,13 +158,13 @@ def all_organizations(request):
context_instance = RequestContext(request),
)
@login_required
def tag(request, slug):
return render_to_response('tag.html', {
"x" : slug,
},
context_instance = RequestContext(request),
)
#@login_required
#def tag(request, slug):
# return render_to_response('tag.html', {
# "x" : slug,
# },
# context_instance = RequestContext(request),
# )
@login_required
def search(request):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment