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.svg https://img.shields.io/codecov/c/github/sunscrapers/djoser.svg https://img.shields.io/scrutinizer/g/sunscrapers/djoser.svg

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.

Documentation

Documentation is available to study at http://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

If you are running djoser tests on Python 2.7 you also need to install mock library.

$ pip install mock  # only on Python 2.7
$ cd testproject
$ ./manage.py test

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

$ pip install tox
$ tox

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-0.7.0.tar.gz (11.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-0.7.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djoser-0.7.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for djoser-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f89348b614a3a9d4e026b29979f353680735ede40e4c33279d2fb5e2e567068f
MD5 10db63fbb6a9ea93406d9bb8a5541070
BLAKE2b-256 6318ee783aff9d2455ab0c62d576287c3b9ff1bd9c1b0627e52ec47d45218ed6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djoser-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1692818eb6720a1f3e1d3a16c68353764aed8a5d6aeeea6f06c08e5fbe61aef9
MD5 176b9de0caf1528decb46cc7a3dc6bad
BLAKE2b-256 e5cfa2085435c86289d297e0177759d8a027a03012d8e38d01f1ee4d9bdea5bc

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