django-beta is a reusable Django application for handling pre-beta signups.
Project description
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
Project details
Release history Release notifications | RSS feed
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-beta-0.1.0.tar.gz
.
File metadata
- Download URL: django-beta-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4755d695345fb435657ef58dc29eb1765a58ded52e2c3e4c9fbf3c83b7e1b328 |
|
MD5 | dbf1972e46e625d48a54789c1b9a98c5 |
|
BLAKE2b-256 | 35dd5d0d68c0784921fb58a4c8beddafd5c668976d3bff8555b2bba40d452b93 |