On 3/9/06, okl <[EMAIL PROTECTED]> wrote: > > hi there, > > im new to python web framework, may i know whats the purpose of the > file?
Required so you can treat directories as Python packages, and do the "import django.models.dir" trick. "The __init__.py files are required to make Python treat the directories as containing packages; this is done to prevent directories with a common name, such as "string", from unintentionally hiding valid modules that occur later on the module search path." http://docs.python.org/tut/node8.html http://www.faqts.com/knowledge_base/view.phtml/aid/4221 -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---