djangorestframework-registration
Overview
RESTful account registration, activation. This apps is inspired by django-registration. It uses the same templates as the django-registration.
This package is influenced by the django-registration HMAC workflow.
Registration Endpoint is an rest framework APIView, whereas Activation Endpoint is a django TemplateView.
Requirements
Python (3.4)
Django (1.8, 1.9)
Django REST Framework (3.3)
Installation
Install using pip…
$ pip install djangorestframework-registration
Example
Include the following urls.
urlpatterns = [
url(r'^api-token-auth/', include('rest_framework_registration.urls')),
]
the available resources will be available at /api-token-auth/registrations/ and /api-token-auth/activations/<key>. See the source code for more detail.
Testing
Install testing requirements.
$ pip install -r requirements.txt
Run with runtests.
$ ./runtests.py
You can also use the excellent tox testing tool to run the tests against all supported versions of Python and Django. Install tox globally, and then simply run:
$ tox
Documentation
To build the documentation, you’ll need to install mkdocs.
$ pip install mkdocs
To preview the documentation:
$ mkdocs serve
Running at: http://127.0.0.1:8000/
To build the documentation:
$ mkdocs build
Metadata
Release files for djangorestframework-registration 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djangorestframework-registration-0.0.2.tar.gz | 4.8 kB | Without provenance | Details for djangorestframework-registration-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djangorestframework_registration-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for djangorestframework_registration-0.0.2-py2.py3-none-any.whl |
Total release size: 16.4 kB
Release files / djangorestframework-registration-0.0.2.tar.gz
| Download URL | djangorestframework-registration-0.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c01e4e2df57115de850d7c32d89fce6827bf2ce9b39389a2ceacadd84240b7bb
|
|
BLAKE2b-256 checksum How to use checksums |
a72df9766d3bf78f148d6aa661c5277c783846500d212c58035ad27a6b474e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / djangorestframework_registration-0.0.2-py2.py3-none-any.whl
| Download URL | djangorestframework_registration-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c33a6268e8cf1c38d149d2ff72add73d7c75c8b3618dc40b1769505ff8457022
|
|
BLAKE2b-256 checksum How to use checksums |
4d1260abce224dbe61dc3096590c52ded2a95950b083892a811b0ea320ce069a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for djangorestframework-registration 0.0.2
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.