On Aug 11, 2005, at 10:19 AM, ludo wrote:
Jacob Kaplan-Moss wrote:
That's by design (but you can change it if you like). If you've got
"mysite.apps.myapp" in INSTALLED_APPS, and the files "boxes.py" with
a Box model, you'll indeed get a model called "boxes.boxes" The
Does the above mean that I can use the same module (boxes.boxes)
inside
another app in the same site? Something like
from boxes.boxes import Box?
I am *very* new to Django, so forgive me for asking obvious questions.
:)
I'd suggest you walk yourself through the tutorials, because those
will explain the answer to your question (and more). The short
answer is that if your app is in INSTALLED_APPS, you'll access it by
doing "from django.models.boxes import boxes" or somesuch.
Jacob