Django admin page, user dropdown shows (None) when adding record, any idea? -


i have 2 model, both of them inherit abstractnonentity, like

class br(abstractnonentity):    ...  class ms(abstractnonentity):    ... 

and class abstractnonentity defined below

class abstractnonentity(globalidmixin, createdonmixin):  creator = models.foreignkey(user, related_name='%(class)s_created_objects',                             verbose_name='creator')    ... 

on admin page, when add br class, creator show user drop-down, when add ms class, creator shows (none) , no drop-down.


Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -