Upgrade to Pro — share decks privately, control downloads, hide ads and more …

django-lazysignup

Avatar for Dan Fairs Dan Fairs
December 13, 2012

 django-lazysignup

An introduction to django-lazysignup - lowering the barrier to web site signup.

Avatar for Dan Fairs

Dan Fairs

December 13, 2012

More Decks by Dan Fairs

Other Decks in Programming

Transcript

  1. The Problem • Your web app is AWESOME • I

    want to TRY IT NOW Friday, 14 December 12
  2. Signup is a barrier • Forms to fill in •

    Yet another password to manage • I don’t want to let you post on my wall/ tweet/whatever Friday, 14 December 12
  3. How can we solve this? • Special ‘trial version’ that

    doesn’t really save • Allow anon users to keep app state in session Friday, 14 December 12
  4. Ugh. • All these approaches mean you have to create

    and maintain a cut-down version of your site with its own persistence mechanism. Friday, 14 December 12
  5. Enter lazysignup • What’s the simplest thing we could do?

    • Just create real users • The rest of the app will then Just Work. Friday, 14 December 12
  6. Enter lazysignup • Automatically create ‘unusable’ users if an anon

    user hits particular views • contrib.auth lets you do this already • Provide a way to convert lazy users to real ones by setting a username and password • Cleanup management command Friday, 14 December 12