I'm a while busy with coding in Django applications.
Now i have a question, because what I want to do,
doesn't work right.
if I request the url: http://localhost/shorts/
I have a short template who gives me messages.
This template is loaded in a default template base.html.
Now i want that every time I extend the base.html
he needs to add default things, like a userlist in the right corner.
I have make there a view for. But now i want to load it.
When I do {% include "include/userlist.html" %} I thought he also
calls to the view.
But no he render only the view. So the information from the view will
not appear.
Does someone know a solution about this problem?
I'm looking forward for your answer.
Sincerely,
Michael
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment