Michael Martinez

Results 61 comments of Michael Martinez

I'm seeing the following when running makemigrations ``` 3c3732bc1d26:/app$ ./manage.py makemigrations SystemCheckError: System check identified some issues: ERRORS: core.User: (models.E012) 'unique_together' refers to the nonexistent field 'organization'. core.User: (models.E012) 'unique_together'...

Update: I was able to get around this issue by changing the order of classes in multiple inheritance. ``` class User(AbstractUser, AbstractOrganizationUser): pass ```

I've documented how I solved the problem here: https://gist.github.com/iMerica/a6a7efd80d49d6de82c7928140676957 My Context: - DRF + SPA (React/Redux) - Django Rest Auth + Django All Auth for email confirmation - Zero templates...

Is this a cross site scenario?

I agree this would be very helpful. I'm not sure I have the bandwidth to add this, but PRs are welcome!

Hi @Goutam192002, I've turned this question into an enhancement ticket. We need to add documentation for how to create users in the admin that also have the dj-rest-auth models created.

Thank you for submitting this and preparing the docs. Instead of linking to an unofficial docs site, it would be great if you can copy/paste the article into a new...

This was a decision made by the original creators of Django Rest Auth. As a user this is fine with me because I need any login signal - I don't...

Are you sure this does what you're looking for. You're deleting inside this condition `if not self.logout_on_password_change`