lambdalisue / django-inspectional-registration

Django registration app with Inspection before activation
http://pypi.python.org/pypi/django-inspectional-registration
42 stars 26 forks source link

django-inspectional-registration

.. image:: https://secure.travis-ci.org/lambdalisue/django-inspectional-registration.png?branch=master :target: http://travis-ci.org/lambdalisue/django-inspectional-registration :alt: Build status

.. image:: https://coveralls.io/repos/lambdalisue/django-inspectional-registration/badge.png?branch=master :target: https://coveralls.io/r/lambdalisue/django-inspectional-registration/ :alt: Coverage

.. image:: https://requires.io/github/lambdalisue/django-inspectional-registration/requirements.svg?branch=master :target: https://requires.io/github/lambdalisue/django-inspectional-registration/requirements/?branch=master :alt: Requirements Status

.. image:: https://landscape.io/github/lambdalisue/django-inspectional-registration/master/landscape.svg?style=flat :target: https://landscape.io/github/lambdalisue/django-inspectional-registration/master :alt: Code Health

.. image:: https://scrutinizer-ci.com/g/lambdalisue/django-inspectional-registration/badges/quality-score.png?b=master :target: https://scrutinizer-ci.com/g/lambdalisue/django-inspectional-registration/inspections :alt: Inspection

Author Alisue lambdalisue@hashnote.net Supported python versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 Supported django versions 1.5 - 1.10

django-inspectional-registration is a enhanced application of django-registration_. The following features are available

The difference with django-registration

While django-registration_ requires 3 steps for registration, django-inspectional-registration requires 5 steps and inspector for registration.

.. _django-registration: https://bitbucket.org/ubernostrum/django-registration/ .. _south: http://south.aeracode.org/

Online documentation

See django-inspectional-registration official documents <http://readthedocs.org/docs/django-inspectional-registration/en/latest/>_ for more detail

For translators

To create a message file, execute the following command (with your language)

.. code:: sh

$ python manage.py makemessages -l ja

You can compile the latest message files with the following command

.. code:: sh

$ python setup.py compile_messages

The command above is automatically called before sdist command if you call python manage.py sdist.

Email

REGISTRATION_FROM_EMAIL is used as the FROM email address emails send by django-inspectional-registration. If REGISTRATION_FROM_EMAIL is not set the Django setting _DEFAULT_FROM_EMAIL: https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email/ will be used instead.

To set REGISTRATION_FROM_EMAIL add REGISTRATION_FROM_EMAIL to your settings file.

Example:

REGISTRATION_FROM_EMAIL = 'help@example.com'

Backward incompatibility

Because of an issue#24 <https://github.com/lambdalisue/django-inspectional-registration/issues/24>_, django-inspectional-registration add the following three new options.

This changes were introduced from version 0.4.0, to keep the backward compatibility, write the following in your settings module.

.. code:: python

REGISTRATION_DJANGO_AUTH_URLS_ENABLE = True
REGISTRATION_DJANGO_AUTH_URL_NAMES_PREFIX = 'auth_'
REGISTRATION_DJANGO_AUTH_URL_NAMES_SUFFIX = ''

Because of an issue#36 <https://github.com/lambdalisue/django-inspectional-registration/issues/36>_, django-inspectional-registration add the following new option.

This change was introduced from version 0.4.7. To keep backward compatibility, write the following in your settings module.

.. code:: python

REGISTRATION_USE_OBJECT_PERMISSION = True