Re: Model Meta verbose_name setter

2008-07-22 Thread [EMAIL PROTECTED]
On 22 juil, 14:38, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 5:17 AM, James PIC <[EMAIL PROTECTED]> wrote: > > I'm trying to use the value of a field of the model for Meta verbose_name. > > Do you mean an instance of the model? Like, if you have an Article > whose title a

Re: Model Meta verbose_name setter

2008-07-22 Thread Marty Alchin
On Tue, Jul 22, 2008 at 5:17 AM, James PIC <[EMAIL PROTECTED]> wrote: > I'm trying to use the value of a field of the model for Meta verbose_name. Do you mean an instance of the model? Like, if you have an Article whose title attribute is "Testing" you'd like "Testing" to show up in the admin fo

Re: Model Meta verbose_name setter

2008-07-22 Thread James PIC
Hi Marty, On Mon, Jul 21, 2008 at 9:18 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 21, 2008 at 2:55 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> This is why i need to code a little mechanism to set the verbose_name >> property of Meta subclass of Model. >> I can't get it to

Re: Model Meta verbose_name setter

2008-07-21 Thread Marty Alchin
On Mon, Jul 21, 2008 at 2:55 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This is why i need to code a little mechanism to set the verbose_name > property of Meta subclass of Model. > I can't get it to work! All of the options you're suggesting would work just fine if only Meta ever got ins