So I want to add one line of code (decorator from django-endless-pagination 
app) to one of my mezzanine.blog.views . Just like this:




*@page_template('blog/blog_post_list_page.html')def blog_post_list(request, 
tag=None, year=None, month=None, username=None,                   
category=None, template="blog/blog_post_list.html",                   
extra_context=None):*

And my question is - what's the proper way of doing it? I know that 
modifying original source file is not good idea. Should I make my own view 
that has the decorator and calls the original view? That would require 
messing with urls though... 

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to