Does anyone knows how I can get the URL name from the request.get_full_path()?
For example:
I have this URL in urls.py
url(r'^evaluation-active/$', 'web.evaluation.evaluation', name='evaluation'),
In my context_processor.py:
def is_evaluation(request):
return {"test":request.get_full_path()}
How can I return "evaluation" instead of "/evaluation-active/"?
Thanks