lol, I'm really having a hard time reproducing the error :S
I actually removed a couple of lines in base.html and the template
loaded. After that I put them back in one by to see where the error
was and guess what; after put back in all lines It still loads. I
reverted back to my first version and the exception was there again,
which is really weird because the code looks exactly the same!
here are the lines I talk about:
{% if user.private %}
{% include
"private_views/right_bar.html" %}
{% endif %}
{% if user.company %}
{% include
"company_views/right_bar.html" %}
{% endif %}
{% if user.lawyer %}
{% include
"lawyer_views/right_bar.html" %}
{% endif %}
is this enough information for you?
On 16 mrt, 13:41, Karen Tracey <[email protected]> wrote:
> On Tue, Mar 16, 2010 at 7:34 AM, Sander <[email protected]> wrote:
> > Ah, I understand,
>
> > I thought the actual error was the template could not be found. But
> > the problem was that the base.html was raising an exception. Fixed the
> > error and everything is fine.
>
> Could you explain what exactly was wrong with your base.html? I'd like to
> make sure the fix put in covers whatever it was, and gives correct
> diagnostics instead of pointing in the wrong direction....
>
> Karen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.