On 11/19/06, ringemup <[EMAIL PROTECTED]> wrote:
>
> I've noticed all these __init__.py files are generated when you create
> a new app in django, and I can't find any documentation on them.  What
> are they for?  What does one do with them?
>
> thanks.
>
>

This is a Python thing, not just a Django thing. A quick search turned
up this explanation:

"The __init__.py files are required to make Python treat the
directories as containing packages..."

For more detail, read the rest here:
http://www.python.org/doc/2.1.3/tut/node8.html#SECTION008400000000000000000


-- 
----
Waylan Limberg
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
 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