Skip to main content

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",
}
  1. 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)
  1. Run python manage.py migrate to create the Gift Registry models.

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

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

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

  5. 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.4.3 (2015-08-04)

Initial version.

Metadata

Release files for django-gift-registry 0.5.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-gift-registry 0.5.0
File Size Uploaded
django-gift-registry-0.5.0.tar.gz 51.2 kB Details

Built distribution (wheel)

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

Total release size: 104.0 kB

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

Download URL django-gift-registry-0.5.0.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dadfe4fba9d700d20508fe854d6c18e7d73ad61b79e4c1464255e83c8c7a6536
BLAKE2b-256 checksum
How to use checksums
023add4bd2a06dd6285e15fe3dbd22bbc977cbaa28fcaed93ce18625450dd90b
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.0-py3-none-any.whl

Download URL django_gift_registry-0.5.0-py3-none-any.whl
Size 52.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7fb362256a8122d96522170173a3990ac9ce4995a4bf69c91dc828d13727002
BLAKE2b-256 checksum
How to use checksums
9b8d6c68c897471b76a23e22ea4cca3b2a4d391e75f59cc9b8d6922a40ccf7de
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 history Release notifications | RSS feed

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

This release

0.5.0 This release

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.2

1 release file

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