displaying list of registered user in django-admin

Posted by theactiveactor on Stack Overflow See other posts from Stack Overflow or by theactiveactor
Published on 2010-05-30T13:52:14Z Indexed on 2010/05/30 14:02 UTC
Read the original article Hit count: 305

Filed under:
|

My Book model has an author attribute which today is simply a CharField. The value for author should be one of the registered users of my Django site. When creating a new Book object in Django admin, I would like author to be displayed as a combo box showing all registered users. How would I go about achieving this?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin