Library that merges Django auth, registration, and crispy
Project description
=============================
django_crispy_forms_registration
=============================
django_crispy_forms_registration is a library that combines the
features of the `default authentication application <https://docs.djangoproject.com/en/1.4/topics/auth/#module-django.contrib.auth>`_
of Django with the registration system of `django-registration <https://bitbucket.org/ubernostrum/django-registration/>`_,
overriding their default forms with ones that make use of the
`crispy forms library <https://github.com/maraujop/django-crispy-forms>`_.
.
Installation
============
The easiest way to install django_crispy_forms_registration is using pip::
pip install django_crispy_forms_registration
Configuration
=============
Enable the admin, registration and crispy_forms_registration apps in
your project settings. Make sure that your application appears before the rest::
'YOUR_APPLICATION',
'registration',
'crispy_forms_registration',
'django.contrib.admin',
In the URLs file of the project, append the following declaration::
urlpatterns += patterns('',
url(r'^accounts/',
include('crispy_forms_registration.urls')),
)
Demo
====
The source code includes a small Django project and client application that
makes use of the library, just download it and run the typical commands to run
a Django project::
python manage.py syncdb
python manage.py runserver
Its settings configuration show the installation and configuration steps
described above.
django_crispy_forms_registration
=============================
django_crispy_forms_registration is a library that combines the
features of the `default authentication application <https://docs.djangoproject.com/en/1.4/topics/auth/#module-django.contrib.auth>`_
of Django with the registration system of `django-registration <https://bitbucket.org/ubernostrum/django-registration/>`_,
overriding their default forms with ones that make use of the
`crispy forms library <https://github.com/maraujop/django-crispy-forms>`_.
.
Installation
============
The easiest way to install django_crispy_forms_registration is using pip::
pip install django_crispy_forms_registration
Configuration
=============
Enable the admin, registration and crispy_forms_registration apps in
your project settings. Make sure that your application appears before the rest::
'YOUR_APPLICATION',
'registration',
'crispy_forms_registration',
'django.contrib.admin',
In the URLs file of the project, append the following declaration::
urlpatterns += patterns('',
url(r'^accounts/',
include('crispy_forms_registration.urls')),
)
Demo
====
The source code includes a small Django project and client application that
makes use of the library, just download it and run the typical commands to run
a Django project::
python manage.py syncdb
python manage.py runserver
Its settings configuration show the installation and configuration steps
described above.
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
File details
Details for the file django_crispy_forms_registration-0.1.3.tar.gz
.
File metadata
- Download URL: django_crispy_forms_registration-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53f4c5d5181588f3d6a3916a969e417ddc2af038d9ada823135503a18de9f05 |
|
MD5 | 14b420f420dca405d0b847d306d8a0ce |
|
BLAKE2b-256 | a2989e096dbf7ccbbc47e985efc6c31d7f34aa76edb040b249b06a29d045fada |