urls and views glue for faq and download
This commit is contained in:
parent
95ade1a4c0
commit
8552c411ef
|
@ -18,8 +18,10 @@ urlpatterns = patterns('',
|
|||
(r'^video/(?P<video_id>\d+)$', 'festival.views.video', ),
|
||||
(r'bestpractices$', 'festival.views.bestpractices'),
|
||||
(r'bestpractices/stories$', 'festival.views.bpstories'),
|
||||
(r'bestpractices/guidelines', 'festival.views.bpguidelines'),
|
||||
(r'bestpractices/glossary', 'festival.views.bpglossary'),
|
||||
(r'bestpractices/guidelines$', 'festival.views.bpguidelines'),
|
||||
(r'bestpractices/glossary$', 'festival.views.bpglossary'),
|
||||
(r'bestpractices/story/(?P<story_id>\d+)$', 'festival.views.bpstory'),
|
||||
(r'bestpractices/guideline/(?P<guideline_id>\d+)$', 'festival.views.bpguideline'),
|
||||
(r'bestpractices/faq$', 'festival.views.bpfaq'),
|
||||
(r'bestpractices/download$', 'festival.views.bpdownload'),
|
||||
)
|
||||
|
|
|
@ -215,4 +215,9 @@ def bpguideline(request, guideline_id):
|
|||
guideline_dict = Guideline.objects.get(pk=guideline_id).get_dict()
|
||||
return render_to_response("bpguideline.html", guideline_dict)
|
||||
|
||||
def bpfaq(request):
|
||||
return render_to_response("bpfaq.html")
|
||||
|
||||
def bpdownload(request):
|
||||
return render_to_response("bpdownload.html")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user