On Sat, Jul 21, 2012 at 7:44 PM, Masud Khokhar wrote:
> Hi Russell,
>
> Many thanks for your reply. The template tag approach looks good and I will
> try to use this one.
>
> One further question. If I am using the @register.simple_tag decorator, can
> I create the view
Hi Russell,
Many thanks for your reply. The template tag approach looks good and I will
try to use this one.
One further question. If I am using the @register.simple_tag decorator, can
I create the view in the views.py file or do I have to create a
templatetags directory and follow the full
On Sat, Jul 21, 2012 at 10:09 AM, Masud Khokhar wrote:
> Hi all,
>
> I am using the default 404 view that Django uses. I have created a custom
> 404.html page in my templates directory which automatically gets loaded. Is
> it possible for this page to load a python
Hi all,
I am using the default 404 view that Django uses. I have created a custom
404.html page in my templates directory which automatically gets loaded. Is it
possible for this page to load a python dictionary or do I need to raise
http404 myself for that?
In essence, what I am trying to do
4 matches
Mail list logo