A team has 2 accounts. We represent these 2 accounts with the same model. Both of these accounts should be used by only one team. I used forms.OneToOneFieldin an attempt to apply the one-account restriction. It only partially works. Django allows team 1 to use account a as its first account and team 2 to use the same account a as its second account. I wonder if anyone has encountered something similar and is able to apply a stricter constraint where an account can only be used a single time.
u/AyrtonHS
▲ 3 r/django
u/AyrtonHS — 7 days ago
▲ 8 r/django
I was just wondering why Rest Framework has its own Authentication and Permission features. Do we have to use these when working with Rest Framework?
u/AyrtonHS — 10 days ago
▲ 12 r/france
I'm able to try my credentials and then verify my email, but afterwards all I get is this:
I've already sent them an email using their form on the website. Since I'm not in France, calling may cost extra money and is only a last resort.
u/AyrtonHS — 11 days ago