Skip to main content

Providing alternate form wizards for the Django project.

Project description

Django Merlin

What’s this for

The Django FormWizard was not exactly what we were looking for so we decided to scratch our own itch and create a project that would host different types of form wizards for use with Django. Currently we have a SessionWizard, which is a form wizard that is backed by the Django session object. This wizard provides the ability to use the SessionWizard as a callable in the URLConf but still provide thread safety.

Besides the storage of SessionWizard state being in session, it uses an HTTP GET to render a form and a POST to process a form. This differs from the Django FormWizard which uses POST for everything. One benefit of this is the ability to got to previous steps in the wizard.

Documentation and examples can be found at: http://packages.python.org/django-merlin/

Installation

You need Django for this to work, if you need help with that head here

Using Pip:

pip install django-merlin

Credits

This was mostly inspired by the Django form wizard and the SessionWizard snippet located here

News

0.4

Release date: 30-Nov-2010

  • Fixed the bug where existing form data was not getting populated on a GET request.

  • Updated the process of process_POST to not automatically call self.clear(). The developer of the wizard now should call self.clear() right before a successful return from self.done(). If the wizard needs to redirect to a step in the process because of post processing error then the SessionWizard will not remove the data form session now.

0.3

Release date: 30-Nov-2010

  • Changed the way the id of the SessionWizard is generated to address problem of lose of data in a multi-threaded/multi-process Django environment

0.2

Release date: 3-Nov-2010

  • Added the initialize hook to the SessionWizard to allow per request initialization.

0.1

Release date: 24-Aug-2010

  • Initial project creation finished.

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

django-merlin-0.4.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file django-merlin-0.4.tar.gz.

File metadata

  • Download URL: django-merlin-0.4.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-merlin-0.4.tar.gz
Algorithm Hash digest
SHA256 450132818e94acdf3b897deeb93eadd76d28f450b177ef8b4da70948c413b1cd
MD5 638b717c672a917d827f03a19b447bdb
BLAKE2b-256 4e21a9028a1789cf4cc3481055ef8d9c52172c18ff075a861d4cf6dc3705a808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page