Re: Admin in mr

2006-04-03 Thread Ian Clelland
On 4/2/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > I just checked it out of the repository earlier this week. I'll try > updating and see if that makes a difference. Looks like Adrian fixed this behaviour on Wednesday -- The template that generates the admin index uses the verbose_name_plural

Re: Admin in mr

2006-04-02 Thread Todd O'Bryan
I just checked it out of the repository earlier this week. I'll try updating and see if that makes a difference. Todd On Apr 3, 2006, at 2:29 AM, Bryan Chow wrote: > > verbose_name is not required. Are you using the latest revision of > m-r? > > > > --~--~-~--~~~--

Re: Admin in mr

2006-04-02 Thread Bryan Chow
verbose_name is not required. Are you using the latest revision of m-r? --~--~-~--~~~---~--~~ 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 uns

Re: Admin in mr

2006-04-02 Thread Todd O'Bryan
Yes, I did run syncdb. I ran it again, just to be sure. Adding the verbose_name in Meta solves the problem, but commenting it out brings back "None". Is setting the verbose_name required or is this just an oversight somewhere? Todd P.S. Thanks for being patient. I feel a little between worl

Re: Admin in mr

2006-04-02 Thread fullfactor
Did you run manage.py syncdb to create the database tables required for the adminstration interface? Also, you can specify verbose_name in the Meta class in your model. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Admin in mr

2006-04-02 Thread Todd O'Bryan
That did the trick. (Of course, I had to look up the 'pass' command. It's fun being a language newbie again. ) 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

Re: Admin in mr

2006-04-02 Thread Ian Clelland
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 e

Admin in mr

2006-04-02 Thread Todd O'Bryan
Tutorial 2 hasn't been updated for magic-removal, yet. I've tried replacing class META: admin = meta.Admin() with class Admin: since that seems to be the message of the magic-removal docs, but I get an error because there's nothing in the inner class. How do you set something to u