Skip to main content

Django Dans Waitlist

Lint Test Types codecov

Python Versions Django Versions PyPI Version Downloads License Codacy grade Code style

Description

A Django app to handle waitlist and basic functionality.

Support for Waitlist and WaitlistEntry models, as well as a WaitlistManager to handle common operations.

Available on PyPi

Quick start

  1. Install the package via pip:
pip install django-dans-waitlist
  1. Add "django_dans_waitlist" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
	...
	'django_dans_waitlist',
]
  1. Include the URL configs in your project urls.py for the REST API endpoints like this:
path("api/waitlist/", include("django_dans_waitlist.urls")),
  1. Run python manage.py migrate to update your database schema.

  2. Use the API endpoints, in code or your Django admin portal.

Requirements

  • Python 3.10 - 3.11
  • Django 3.1 or higher
  • Django Rest Framework
    • NOTE: not only must you have this installed, you must have set DEFAULT_AUTHENTICATION_CLASSES and DEFAULT_PAGINATION_CLASS in your settings.py to work with the APIs properly. An example config would be:
REST_FRAMEWORK = {
    "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
    "PAGE_SIZE": 20,
    "DEFAULT_AUTHENTICATION_CLASSES": (
        "rest_framework.authentication.TokenAuthentication",
    ),
}

Available Settings

Currently all available settings are optional:

  • TEAM_NAME - Default team name to use for emails, can be added to message context manually as well still.

Add these to your settings.py file to customize the app's behavior like so:

TEAM_NAME = "My Team"

Docs

Model docs.

API docs.


https://danielnazarian.com
Copyright 2024 © Daniel Nazarian.

Release files for django-dans-waitlist 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dans-waitlist 1.1.0
File Size Uploaded
django_dans_waitlist-1.1.0.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-dans-waitlist 1.1.0
File Interpreter ABI Platform
django_dans_waitlist-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / django_dans_waitlist-1.1.0.tar.gz

Download URL django_dans_waitlist-1.1.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a1ccaafbcb25593274516f07d8cf69a1e8effb0df8fbac9534ccdd661044b926
BLAKE2b-256 checksum
How to use checksums
1a34dac7497a5fe9615f6be34aac3c66e677cb49aad0923b481416204d308abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / django_dans_waitlist-1.1.0-py3-none-any.whl

Download URL django_dans_waitlist-1.1.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eac029a599f981d0a40b6be1e2f2ac365231dbcf670504128fe6a17b36925036
BLAKE2b-256 checksum
How to use checksums
3b96f746326e1efdd69176d710d374988bcf19e3d2284906ea1ff97c4e981cb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page