Hello everyone.
I'm newbie at django and satchmo, and i'm sorry in advance for
probably very silly question.
So, I've got, for example, this line in urls.py
urlpatterns += patterns('satchmo_store.shop.views',
(r'^$','home.home', {}, 'satchmo_shop_home'),
...
as i understand, it means that when i go to http://example.com, django
evaluate the 'home' view function.
afterwards, it renders the template "shop/index.html" with the
context.
Also, there is a '{% extends "shop/base.html" %}' tag inside the "shop/
index.html".
so, it extends the "shop/base.html" template.
And after the page is rendered - somehow, this base.html template is
also populated with the help of another Context object.
Therefore, i can't understand - where did this context object come
from?
Maybe it's just a middle of the night, and i need to sleep, but still
- i don't see any calling of any rendering function that would render
the base.html.
--
You received this message because you are subscribed to the Google Groups
"Satchmo 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/satchmo-users?hl=en.