Skip to main content

djoser

https://img.shields.io/pypi/v/djoser.svg https://img.shields.io/travis/sunscrapers/djoser/master.svg https://img.shields.io/codecov/c/github/sunscrapers/djoser.svg Codacy Badge

NOTE: this is a modified version of djoser that support drf-yasg

REST implementation of Django authentication system. djoser library provides a set of Django Rest Framework views to handle basic actions such as registration, login, logout, password reset and account activation. It works with custom user model.

Instead of reusing Django code (e.g. PasswordResetForm), we reimplemented few things to fit better into Single Page App architecture.

Developed by SUNSCRAPERS with passion & patience.

https://asciinema.org/a/FBTYjfDPUr99jxZqbLOZhh9Pd.png

Requirements

To be able to run djoser you have to meet following requirements:

  • Python (3.5, 3.6, 3.7, 3.8)

  • Django (1.11, 2.2)

  • Django REST Framework (3.9, 3.10)

If you need to support other versions, please use djoser<2.

Installation

Simply install using pip:

$ pip install djoser

And continue with the steps described at configuration guide.

Documentation

Documentation is available to study at https://djoser.readthedocs.io and in docs directory.

Contributing and development

To start developing on djoser, clone the repository:

$ git clone git@github.com:sunscrapers/djoser.git

If you are a pipenv user you can quickly setup testing environment by using Make commands:

$ make init
$ make test

Otherwise, if you cannot use Make commands, please create virtualenv and install requirements manually:

$ pip install django djangorestframework
$ pip install -r requirements.txt
$ cd testproject
$ ./manage.py test

If you need to run tests against all supported Python and Django versions then invoke:

$ pip install tox
$ tox -p all

You can also play with test project by running following commands:

$ ./manage.py migrate
$ ./manage.py runserver

Similar projects

List of projects related to Django, REST and authentication:

Metadata

Release files for djoser-edge 2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djoser-edge 2.0.4
File Size Uploaded Provenance Actions
djoser-edge-2.0.4.tar.gz 52.9 kB Without provenance Details for djoser-edge-2.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djoser-edge 2.0.4
File Interpreter ABI Platform Actions
djoser_edge-2.0.4-py3-none-any.whl Python 3 none any Details for djoser_edge-2.0.4-py3-none-any.whl

Total release size: 80.9 kB

Release files / djoser-edge-2.0.4.tar.gz

Download URL djoser-edge-2.0.4.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5efc43b63f1fd8275876dbdd8bb8d1812ffb676880947871cccfde4a22778d5f
BLAKE2b-256 checksum
How to use checksums
4cae4d4b296e4c5e59714d22ed7d542bfcd54cdb0b310738e8fc73db07b8eec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1

Release files / djoser_edge-2.0.4-py3-none-any.whl

Download URL djoser_edge-2.0.4-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
965e700a8e38ffbfd28c0f658050e48ddd29c186d9bba2ef1c37978e6acae125
BLAKE2b-256 checksum
How to use checksums
cb29dd619ef9455c4808c253c99e0b3fc5f21250ccb548e49ee085d11aec694d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1

Security for djoser-edge 2.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page