Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Python 100 Days | 138,537 | a month ago | 689 | Python | ||||||
Python - 100天从新手到大师 | ||||||||||
Django Rest Framework | 26,338 | 24,595 | 1,796 | 4 days ago | 134 | September 22, 2022 | 139 | other | Python | |
Web APIs for Django. 🎸 | ||||||||||
Awesome Django | 7,453 | 15 days ago | 3 | cc0-1.0 | HTML | |||||
A curated list of awesome things related to Django | ||||||||||
Drf Yasg | 3,165 | 290 | 91 | 15 days ago | 62 | July 20, 2023 | 242 | other | Python | |
Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code. | ||||||||||
Django Rest Swagger | 2,516 | 2,031 | 43 | 3 years ago | 50 | December 15, 2021 | 168 | bsd-2-clause | Python | |
Swagger Documentation Generator for Django REST Framework: deprecated | ||||||||||
Django Rest Auth | 2,331 | 1,109 | 25 | a year ago | 25 | April 01, 2019 | 234 | mit | Python | |
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON) | ||||||||||
Djoser | 2,319 | 212 | 6 | 2 months ago | 50 | October 30, 2020 | 170 | mit | Python | |
REST implementation of Django authentication system. | ||||||||||
Drf Nested Routers | 1,523 | 621 | 35 | 18 days ago | 19 | October 15, 2021 | 49 | apache-2.0 | Python | |
Nested Routers for Django Rest Framework | ||||||||||
Cookiecutter Django Rest | 1,431 | 3 days ago | 5 | mit | Python | |||||
Build best practiced apis fast with Python3 | ||||||||||
Drf Extensions | 1,371 | 323 | 19 | 4 months ago | 16 | July 30, 2021 | 75 | mit | Python | |
DRF-extensions is a collection of custom extensions for Django REST Framework |
User registration REST API, based on Django REST Framework.
Full documentation for the project is available at https://django-rest-registration.readthedocs.io/.
settings.AUTH_USER_MODEL
and also uses cryptographic signing instead of profile models)You can install Django REST Registration latest version via pip:
pip install django-rest-registration
Then, you should add it to the INSTALLED_APPS
so the app templates
for notification emails can be accessed:
INSTALLED_APPS=(
...
'rest_registration',
)
After that, you can use the urls in your urlconfig, for instance:
api_urlpatterns = [
...
path('accounts/', include('rest_registration.api.urls')),
]
urlpatterns = [
...
path('api/v1/', include(api_urlpatterns)),
]
You can configure Django REST Registration using the REST_REGISTRATION
setting in your Django settings (similarly to Django REST Framework).
Below is sample, minimal config you can provide in your django settings which will satisfy the system checks:
REST_REGISTRATION = {
'REGISTER_VERIFICATION_ENABLED': False,
'RESET_PASSWORD_VERIFICATION_ENABLED': False,
'REGISTER_EMAIL_VERIFICATION_ENABLED': False,
}
However, the preferred base configuration would be:
REST_REGISTRATION = {
'REGISTER_VERIFICATION_URL': 'https://frontend-host/verify-user/',
'RESET_PASSWORD_VERIFICATION_URL': 'https://frontend-host/reset-password/',
'REGISTER_EMAIL_VERIFICATION_URL': 'https://frontend-host/verify-email/',
'VERIFICATION_FROM_EMAIL': '[email protected]',
}
The frontend urls are not provided by the library but should be provided by the user of the library, because Django REST Registration is frontend-agnostic. The frontend urls will receive parameters as GET query and should pass them to corresponding REST API views via HTTP POST request.
In case when any verification is enabled (which is the default!), your Django application needs to be properly configured so it can send e-mails.
You can read more about basic configuration here.
You can read more about detailed configuration here.
You can find all REST_REGISTRATION
configuration options
here.
If you want to contribute, please refer to separate document CONTRIBUTING.md.