[mezzanine-users] Re: Where to define Proccessor_for.py

2014-03-31 Thread Tameen Malik
To associate a Page Processor to a custom Page model you must create the 
function for it in a module called page_processors.py inside one of your 
INSTALLED_APPS and decorate it using the decorator
mezzanine.pages.page_processors.processor_for.  I know this is the answer 
of my question. I have mentioned mezzanine.pages.page_processors.processor_for 
i my installed apps and 

from mezzanine.pages import page_processors
page_processors.autodiscover()

lines in in my urls.py file but what to do more to access this?

-- 
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.


[mezzanine-users] Re: Where to define Proccessor_for.py

2014-03-31 Thread Tameen Malik
and how to define this in template to make this accessible?

-- 
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.