Look at template inheritance:

https://docs.djangoproject.com/en/1.3/topics/templates/#template-inheritance


2011/10/13 galgal <weglarek.rob...@gmail.com>:
> I need to place a form in all my subsites and home page. It's placed on
> right column. It's action is "/". If there are some errors I must display
> them.
> I made Form class etc. I display it via {{ form.as_p }} and designed all.
> The problem is - how to put it on all sites? I don't want to make form
> instance in all my views functions.
> What is the best solution for that?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/D-oc9OMkpykJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to