Skip to content

Handle capturing email addresses for pre-beta sites

License

Notifications You must be signed in to change notification settings

isabella232/django-beta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
django-beta
===========

``django-beta`` is a simple application to help you capture pre-beta interest
with your sites.

By default ``django-beta`` only captures a user's email address, however you
can alternately set one of these two configuration options:

BETA_CAPTURE_FIRST = True, will use a form and require the user to enter their
first name and email address. 

BETA_CAPTURE_BOTH = True, will use a form and require the user enter their
first name, last name, and email address.

Installation
============

Add ``beta`` to your ``INSTALLED_APPS`` and run syncdb. 

Add the following to your urls.py:

    url(r'^beta/', include('beta.urls')),

Using the example templates provided in the code, create your customized beta signup templates. 

Managers
--------

The ``BetaSignup`` model has the following manager method to help out: 

BetaSignup.objects.contacted()
BetaSignup.objects.not_contacted()
BetaSignup.objects.registered()
BetaSignup.objects.not_registered()

Side Effects
------------

``django-beta`` listens for a signal on User creation and marks the 
corresponding BetaSignup entry as 'registered'.


TODO
----

* Admin views to show beta registrations over time
* Management commands to simplify emailing the interested users


About

Handle capturing email addresses for pre-beta sites

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.0%
  • HTML 2.0%