0
I have the user model that I extended from the Django standard
class TradingUser(User):
avatar = models.ImageField(upload_to='images/', default='images/none.jpg')
Only when I try to access this avatar image via template
<img src=" {{ user.avatar }}">
It returns empty, I believe the Django user is as "User" and not as "Tradinguser". But when changing in Settings.py several errors occurred.
Damn, that simple, as I didn’t think of it before. Thank you very much.
– Vinicius Macelai