I am experimenting with adding an anchor tag in the file "course_outline.html" in the template folder of cms. I want the user to be redirected to another page on clicking this. For experimentation I am doing <a href="<% url upload_transcripts %>".. >
.( Note that upload_transcripts is already defined in urls.py in the cms folder as url(r'^transcripts/upload$', 'contentstore.views.upload_transcripts', name='upload_transcripts')
)
This is giving an error. In particular the error page saying 'The studio servers encountered an error' and nothing else. Note that I have already tried <a href="{% url upload_transcripts %}" .. >
with no success . Can someone help with this ?
Environment: Devstack version in Ubuntu 12.04
I ended up created a new views.py and editing the urls.py. This seems to have solved my problem.