Since i did not get answer ill explain my problem bit more. in first case (views). my current views work like that:
They take request data, read session info and generate content related to that. I understand, that i could write function that takes request as argument. But since it has to return different data for different views, how to handle that? Are there global variables that i could use for it? That still does not seem like a very good way to handle it, because perhaps the global variables are either overwritten when they should not be or arent when they should be. Perhaps i should write templatetag for it. Can i handle session data in templatetag?. the second case problem remains unchanged. if i have about 10 views in the end, is it ok to have 10 blocks beginning and ending in a template? Alan. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---