Aye, this was it. Still very green with Python. Thanks for making
Django. Its forcing me to learn Python, which is turning out to be
not-such-a-bad idea :)
Burhan wrote:
> class META:
> admin = meta.Admin(
> list_display=('name','price'),
> list_filter=('price'),
This list_filter value is not a tuple. It is just a string in brackets.
This means that we iterate th
On 12/21/05, Burhan <[EMAIL PROTECTED]> wrote:
> Any idea? I suspect its the 'name' and that this is a reserved name
> in Django. Is there a list of such things? I have run into this
> problem before (while naming my app admin).
Hmmm, no, "name" certainly isn't a reserved name. It must be some
Hello:
I have the following model:
class JobType(meta.Model):
name = meta.CharField(maxlength=20, verbose_name='Job Type')
price = meta.FloatField(
max_digits=5,
decimal_places=2,
verbose_name='Price',
4 matches
Mail list logo