On 8/31/05, Matthew Marshall <[EMAIL PROTECTED]> wrote:
> How disgusting!  While working on a test case, (and tweaking the test
> framework to accomodate a second app,)  I found that in my model files I was
> doing:
> 
> >>> from project.categories.modules import categories
> 
> rather than:
> 
> >>> from django.models.categories import categories
> 
> I doubt I'll be the last to make this simple mistake; perhaps a note should be
> added to the DB API docs?

I added that to the model docs a couple of days ago:
http://www.djangoproject.com/documentation/model_api/#models-across-files

If it's not sufficient, I can definitely improve it. How does it look?

> Anyway, would you like me to finish making that test?  Or is it not worth the
> extera bulk of adding another app?

How 'bout adding a test case that uses a relation to something in core
or auth, instead of adding another app?

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to