Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting is_superuser and is_staff on Registration #587

Open
tychodev321 opened this issue Dec 3, 2019 · 1 comment
Open

Setting is_superuser and is_staff on Registration #587

tychodev321 opened this issue Dec 3, 2019 · 1 comment

Comments

@tychodev321
Copy link

Hello, I am trying to set the is_superuser and is_staff fields when a user Registers using the /rest-auth/registration/ (POST) or the /rest-auth/user/ (PUT) endpoints. Are these fields available in Django-Rest-Auth to be updated, or do I need to create custom code to do so? If so, does anyone have any guidance on how?

@BarnabasSzabolcs
Copy link

Hi,

this repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: #568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)

new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you write where it brings value.)

Best,
Barney

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants