To install django-waitinglist (no releases have been yet):
pip install django-waitinglist
INSTALLED_APPS = ( # ... "waitinglist", # ... )
See the list of Settings to modify the default behavior of django-waitinglist and make adjustments for your website.
waitinglist.urlsto your URLs definition:
urlpatterns = patterns("", ... url(r"^waitinglist/", include("waitinglist.urls")), ... )
To grant a user access the waitinglist management views, first ensure you’ve synced the database to create the
from django.contrib.auth.models import User, Permission user = User.objects.get(username="finnegan") permission = Permission.objects.get(codename="manage_cohorts") user.user_permissions.add(permission)
This is bundled with Django. It is enabled by default with all new Django
projects, but if you’re adding django-waitinglist to an existing project you
need to make sure
django.contrib.auth is installed.
We use django-appconf for app settings. It is listed in
and will be installed when pip installs.