django-rest-registration
django-rest-registration copied to clipboard
User-related REST API based on the awesome Django REST Framework
### Checklist * [x] I read [Contribution Guidelines](https://github.com/apragacz/django-rest-registration/blob/master/CONTRIBUTING.md#issues) * [x] I searched [the documentation](https://django-rest-registration.readthedocs.io/) to ensure that the requested feature is not already implemented and described * [x] I searched...
This should be done after #48 will be done. From #48: >I guess the initial solution could be leaving the name user_id but allow the user identification field to be...
Class-based views greatly simplify adding extra logic into views. I am therefore proposing to refactor the views into class-based views. Here are some examples why this is useful, at least...
Django Rest Framework by default will make APIView csrf excempt for ApiView. CSRF handling in DRF is done at the SessionAuthenticaiton class level. Here is the relevant code: https://github.com/encode/django-rest-framework/blob/master/rest_framework/views.py#L144 All...
### Description This PR aims to fix #144: when a custom flag field is used, and one tries to change the email of a superuser created by `createsuperuser` whose flag...
I have the following table to extend the User model: `class UserProfile(models.Model):` `user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='profile', on_delete=models.CASCADE)` `phone_number = models.CharField(max_length=50, null=True)` `...` I've tested overriding the `User` model and adding...
### Describe the bug I changed the default flag field with `USER_VERIFICATION_FLAG_FIELD` and created a superuser with the Django command `createsuperuser`. Changing this superuser's email results in an error when...