On Nov 19, 2006, at 11:29 AM, Jeremy Dunck wrote: > In the simplest case, __init__.py can just be an empty file, but it > can > also execute initialization code for the package or set the __all__ > variable, described later.
it's also handy to store code where you don't want another namespace level inside your module. See for example, django/http. There is nothing in there except an __init__.py that has initialization code as well as numerous class definitions and utility functions. Don --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---