Re: Context Help
On 24-8-2012 10:09, Gregory Strydom wrote:
> I can understand that perfectly. What i cant understand is where do place
> the P = Context() P['Name'] = "Fred".
> Does it go in the models file, Views file, html file, seperate file??
With Class Based Views this is a lot simpeler:
<https://docs.djangoproject.com/en/1.4/topics/class-based-views/#adding-extra-context>
--
Melvyn Sopacua
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home