Skip to main content

Gift Registry

Create a list of gifts ideas that can then be reserved by guests.

Guests can browse the list of gift ideas and reserve one by entering their email address. The item is then marked as chosen for the information of other guests. No registration is required, just an email address to send confirmation.

Gifts ideas can be either items that you only want one of, or items that you would be happy to receive multiples of (eg. a gift voucher). You can add a picture, description and URL for each item.

The registry doesn’t take payment or allow the gift to be directly purchase, it simply allows gift ideas to be reserved.

Quick start

  1. Add the following required Django settings:

    INSTALLED_APPS = [
        ...
     'django.contrib.sites',
        'gift_registry',
     ...
    ]
    
    SITE_ID = 1
    GIFT_REGISTRY_SETTINGS = {
        'EVENT_NAME': "Alice and Bob's Wedding",
    }
  2. Include the gifts URLconf in your project urls.py like this:

    path('', include('gift_registry.urls')),

    and a line to serve uploaded media in development:

    from django.conf import settings
    from django.conf.urls.static import static
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  3. Run python manage.py migrate to create the Gift Registry models.

  4. Run python manage.py createsuperuser --username=admin --email=test@example.com.

  5. Start the development server and visit the Django Admin at http://127.0.0.1:8000/admin/gift_registry/gift/ to add gift ideas.

  6. Visit http://127.0.0.1:8000/ to browse the public list.

  7. Before deployment, be sure to add a “Site” via the Django Admin to ensure the outgoing emails include the correct link back to the website.

Customising

There’s a good chance that you’ll want to customise the look and feel. You do this by overriding the built-in templates.

Add your own template directory to settings.TEMPLATE_DIRS and override the base template here. To do this, first create a gift_registry directory in your templates directory. Then from within the django-gift-registry package, copy gift_registry/templates/gift_registry/base.html into your newly created gift_registry directory. Customise this base.html file with your own HTML and CSS.

Release History

0.5.3 (2021-09-22)

Upgraded for Python 3 and Django 3.2.

0.4.3 (2015-08-04)

Initial version.

Metadata

Release files for django-gift-registry 0.5.3

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-gift-registry 0.5.3
File Size Uploaded Provenance Actions
django-gift-registry-0.5.3.tar.gz 51.3 kB Without provenance Details for django-gift-registry-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-gift-registry 0.5.3
File Interpreter ABI Platform Actions
django_gift_registry-0.5.3-py3-none-any.whl Python 3 none any Details for django_gift_registry-0.5.3-py3-none-any.whl

Total release size: 104.2 kB

Release files / django-gift-registry-0.5.3.tar.gz

Download URL django-gift-registry-0.5.3.tar.gz
Size 51.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78d4f3e59df21599646c585f0c5c7404c7e615c7e0d00355fbae9564f4912fa4
BLAKE2b-256 checksum
How to use checksums
8611bcacd9716c5d3429cd640f308a41392b673b9805391a23e2416b4fd57933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.2

Release files / django_gift_registry-0.5.3-py3-none-any.whl

Download URL django_gift_registry-0.5.3-py3-none-any.whl
Size 52.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14997298e95b0a0a15b8087f15a55050fb277aee29a39ccc0fbb4ad63edb9922
BLAKE2b-256 checksum
How to use checksums
5925173b8a8b914bd6b8805323a95ec612dce647e9229651ce82f028d900681e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.2

Security for django-gift-registry 0.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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