That did the trick. (Of course, I had to look up the 'pass' command.  
It's fun being a language newbie again. <sigh>)

But now my three models show up in the Admin interface as 'None'. All  
three of them. Which makes it hard to figure out what you're going to  
be editing when you pick one. The module name shows up correctly, but  
the class names don't exist, apparently.

Todd

On Apr 3, 2006, at 1:41 AM, Ian Clelland wrote:

>
> On 4/2/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>> I've tried replacing
>>
>> class META:
>>         admin = meta.Admin()
>>
>> with
>>
>> class Admin:
>
> You need to have
>
> class Admin:
>     pass
>
> You'll get errors if you don't include the "pass" line if there's
> nothing else in the class. That should be enough to get model into the
> admin screens.
>
>
> Regards,
> Ian Clelland
> <[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to