Uh, nevermind... I was doing:

import realFile

instead of:

from realFile import realClass

in __init__.py



On Mon, 2006-11-27 at 15:37 -0500, Nathan R. Yergler wrote:
> I wrote to the list a while ago about implementing models as a package
> (ie, a "models" subdirectory with __init__.py, etc inside).  As I was
> told then, i needed to add:
> 
> class Meta:
>    app_label='appname'
> 
> to each individual model class.  That worked up to getting the database
> API to recognize the models and create DB tables.  However, they're
> still not showing up in the Admin interface, despite the presence of:
> 
> class Admin:
>     pass
> 
> within each.  I assume this is yet another weirdness with multi-file
> models.  Suggestions?
> 
> Nathan
> 
> 
> > 


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