On Wed, 2007-05-23 at 22:30 -0700, Greg wrote:
> Malcolm,
> So how do I call a method in my list_display?
At some point I think I'm justified in saying "please read the
documentation." I mean, this is all explained in the docs for
list_display in the Admin class. That should be your first port of
Malcolm,
So how do I call a method in my list_display? Here is my models file
class Manufacturer(models.Model):
name = models.CharField(maxlength=200)
manufacturerslug = models.SlugField(prepopulate_from=["name"])
description = models.TextField(maxlength=1000)
de
On Wed, 2007-05-23 at 14:33 -0700, Greg wrote:
> I'm having a problem displaying data in my admin using list_display.
> I want to be able to show the Manufacturer in the admin from my styles
> page. Here are my models:
>
> class Manufacturer(models.Model):
> name = models.CharField(maxleng
I'm having a problem displaying data in my admin using list_display.
I want to be able to show the Manufacturer in the admin from my styles
page. Here are my models:
class Manufacturer(models.Model):
name = models.CharField(maxlength=200)
manufacturerslug = models.SlugField(prepo
4 matches
Mail list logo