>From what I now understand, this is indeed impossible. But I would
appreciate it if someone could confirm this.
And so what is the best way to lookup a table entry based on the page
viewed? I have a table called Page and it contains things like page
title, meta tags, which menu section each page
I have general processing to do in my context processor based on which
url was used.
How can find out the name of the url used eg in my middleware. I feel
like I want to do:
def process_view(self, request, view_func, view_args, view_kwargs):
request.url_name = view_kwargs.get('name', Non
2 matches
Mail list logo