On Wed, Oct 1, 2008 at 11:03 AM, FC <[EMAIL PROTECTED]> wrote:

>
> Hi, I've made some changes to my templates and something is broken but
> I just can't find out why.
> I have a base.html template with my site basic structure. Then a
> viaje.html template which displays an object from the database, and
> finally I have a viaje_sg_a.html template which should add a form to
> edit some parts of the Viaje object. viaje_sg_a.html extends
> viaje.html and defines a block where the form is. The problem is the
> form never gets to the final html.


viaje_sg_a.html provides the content for a block named "form_a" but no block
of that name is declared in the templates being extended.  You need to
declare that block in one of the extended templates, otherwise there's no
place for the content you provide in viaje_sg_a.html to go.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to