Re: Admin inline extra field

2010-04-20 Thread derek
On Apr 19, 2:07 am, nulvinge wrote: > I managed to solve it. > > part of my model was: > class Hour(models.Model): >     store   = models.ForeignKey('Store', unique=True) > > And it shouldn't have been unique. > Hmm, maybe there should be some warning message to clarify this or > atleast document

Re: Admin inline extra field

2010-04-18 Thread nulvinge
I managed to solve it. part of my model was: class Hour(models.Model): store = models.ForeignKey('Store', unique=True) And it shouldn't have been unique. Hmm, maybe there should be some warning message to clarify this or atleast document it, because I have searched a lot of docs to find wha

Re: Admin inline extra field

2010-04-18 Thread nulvinge
Since this thing seems to be under some development now I should maybe say that I'm using the debian python-django package version 1.1.1-5. On Apr 19, 1:21 am, nulvinge wrote: > I simply can't get the extra field of inlining to work with the admin > interface. > Whatever I do the admin interface

Admin inline extra field

2010-04-18 Thread nulvinge
I simply can't get the extra field of inlining to work with the admin interface. Whatever I do the admin interface only shows one row of Hour Here's my admin.py: from gshop.gs.models import (Store, Brand, District, Category, Hour) from django.contrib.gis import admin class MyGeoAdmin(admin.OSMGeo