Quantcast
Viewing all articles
Browse latest Browse all 3686

Is there are any way to add 2 models as auth-user-model?

i have created 2 apps user and a vendor.This is the error i am facing.

"AttributeError at /users/admin/login/Manager isn't available; 'auth.User' has been swapped for 'vendors.Vendor'Request Method: POSTRequest URL: http://127.0.0.1:8000/users/admin/login/Django Version: 5.1.3Exception Type: AttributeErrorException Value:
Manager isn't available; 'auth.User' has been swapped for 'vendors.Vendor'"

Can i add both the Vendor and user ?


Viewing all articles
Browse latest Browse all 3686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>