On Fri, Sep 19, 2008 at 4:07 PM, djandrow <[EMAIL PROTECTED]> wrote:
>
> I have a template, text that extend a template base.
>
> In my text template I have;
>
> {% extends 'base.html' %}
>
> {% block content %}
>
> SOME CODE
>
> {% endblock content %}
I'm not a django expert, but I think that you don't need {% endblock
content %}, just {% endblock %}.
> Anyway, my question is when I enter this save it then stick it on my
> server, it adds closing tags at the bottom; </body></html> and the
> Doctype stored in base,html on the top, is this the way i'm uploading
> the files or is it sommething to do with Django, and if so is there
> anyway to stop it?
I guess try my suggestion and report back unless someone else has any ideas.
-Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---