Skip to content

The ForeignKey is displayed (<models.mls.user.User object at 0x000001F34B5C6560>) #102

Answered by aminalaee
wnesbv asked this question in Q&A
Discussion options

You must be logged in to vote

Please provide more information about your code and describe your question properly.
I think what you need to do is define __str__ method on your models, that's not really related to SQLAdmin.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wnesbv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants