Here the Place is just an class, isn't a "real model" so you can't
register it in admin.
I've tried simulate your situation and worked very well to me (without
"city" field in ModelAdmin).
Can you paste the full models.py and admin.py files?
Try pasting here:
http://pastebin.com/
--~--~-~
On Apr 24, 12:07 am, Heigler wrote:
> Hello,
> I think the problem isn't currency in your ModelAdmin, i think the
> problem is the field "city", where is it in your CountryModel?
Thanks for the answer.
I already correct that, and also in the import (it was a bad copy-
paste) and still getting
Hello,
I think the problem isn't currency in your ModelAdmin, i think the
problem is the field "city", where is it in your CountryModel?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Hi, I am still pretty new here and a bit confused.
I have the next models:
Place is an abstract class
class Place(models.Model):
place = models.CharField(_('place'), max_length=128)
currency = models.CharField(_('currency'), max_length=128)
#...
#... and many other generic data
Hi, I am still pretty new here and a bit confused.
I have the next models:
Place is an abstract class
class Place(models.Model):
place = models.CharField(_('place'), max_length=128)
currency = models.CharField(_('currency'), max_length=128)
#...
#... and many other generic data
5 matches
Mail list logo