Skip to main content

build-status-image pypi-version

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

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)

Source distribution for djangorestframework-registration 0.0.2
File Size Uploaded
djangorestframework-registration-0.0.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for djangorestframework-registration 0.0.2
File Interpreter ABI Platform
djangorestframework_registration-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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