Skip to main content

REST version of Django authentication system.

Project description

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

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djoser-2.0.1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djoser-2.0.1-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file djoser-2.0.1.tar.gz.

File metadata

  • Download URL: djoser-2.0.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for djoser-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3c4112f50c29f7f9811688bedf440ccd1490abb44c5969cc8cfcf6c4d183cd26
MD5 02ef6617c803a3a7b7a4bf22f333a47a
BLAKE2b-256 b09dbf6d32ef405ed0c598d2363516ec403d827214407c77dc64e5bc3aa3ab58

See more details on using hashes here.

File details

Details for the file djoser-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: djoser-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for djoser-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2586f8a45bec04083d90bbfc255d21af9dcd5f45c79ce911e28aa78a4939f17
MD5 2eb23e9bf71982b66850834d5f389edb
BLAKE2b-256 2805a6f862e905b66c9976b996a28edb64423813a48c7db1e5d3218587ebb0f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page