@Brian Thank you very much for clear explanation! I gives me much more than enormous pages of manuals.
@Itay Thanks for suggestion, but refractoring inside views.py looks more clear to manage. I wasn't also sure, if such simple solution requires middleware involved. I will probably have more than only this one example, so I was looking for as simple solution as it's possible. Thanks to both of you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.