Add field to existing users

21 views
Skip to first unread message

Sergio Brero

unread,
Aug 17, 2018, 11:57:38 AM8/17/18
to django-oscar
Hi all, i'd like to add a boolean field to existing users to discrimine between users that have this flag true and false and show them different prices.
Can this be achieved without changing the AUTH_USER_MODEL?
Where is django instructed to use customer.abstract_models.AbstractUser as user base model?

Hope for a response

Thank you - kind regards - sergio brero

Shine Mon SS

unread,
Aug 17, 2018, 1:53:15 PM8/17/18
to django-oscar

Sergio Brero

unread,
Aug 17, 2018, 2:25:43 PM8/17/18
to django-oscar
Thanks for your reply Shine Mon SS.
By the way, i changed my approach and solved the problem using a flat django auth.Group

Shine Mon SS

unread,
Aug 17, 2018, 2:26:57 PM8/17/18
to django-oscar
No issues :)
Reply all
Reply to author
Forward
0 new messages