Hi,
Is that posible to make context manipulation (in every views) before
send to templates from middleware?
I use Django 1.3 at this case.
Eg:
views.py
def view_function:
return render(request, templates, data)
def other_function:
return render(request, templates, data)
Middleware will retrieve this "data" and check if particular object
classname is exist or not.
If exists, doing some manipulation and pass it to templates.
It more like global views manipulation.
It will manipulate data both view_function and other_function (at this
case).
Thank you for any response and help
Regards,
@yodiaditya
--
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.