Implementing a singleton is slightly different in python.
When you create a singleton it actually ends up remembering state
across requests.
I tried several on this list:
http://c2.com/cgi/wiki?PythonSingleton

So if i have a groups list and i append to it, for every request to
the server i have extra items in the list.
What is the python way of preventing this?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to