Re: Problem in Admin section, in shell works great

2005-12-24 Thread Burhan
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 :)

Re: Problem in Admin section, in shell works great

2005-12-21 Thread Robert Wittams
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

Re: Problem in Admin section, in shell works great

2005-12-21 Thread Adrian Holovaty
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

Problem in Admin section, in shell works great

2005-12-21 Thread Burhan
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',