Skip to main content

A minimal wedding registry or gift registry app.

Project description

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.4 (2021-09-29)

Switch to setup.cfg.

0.5.3 (2021-09-22)

Upgraded for Python 3 and Django 3.2.

0.4.3 (2015-08-04)

Initial version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-gift-registry-0.5.4.tar.gz (53.2 kB view details)

Uploaded Source

Built Distribution

django_gift_registry-0.5.4-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file django-gift-registry-0.5.4.tar.gz.

File metadata

  • Download URL: django-gift-registry-0.5.4.tar.gz
  • Upload date:
  • Size: 53.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-gift-registry-0.5.4.tar.gz
Algorithm Hash digest
SHA256 8ba449b3ae8f5bbefd50e9fafd0d0e42221e1b18f1af8d0a9e51ea62c94b8cc4
MD5 496f411ac4dc34316448e5d333460c49
BLAKE2b-256 bdd21fdd014fd4626451761bcf921f28ef7010f39b6c102cb5c1d18c0f4b45c9

See more details on using hashes here.

File details

Details for the file django_gift_registry-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: django_gift_registry-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_gift_registry-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 184341a0263d511ce42b9af51ee79c54e6b741e6b5b02116771277cff79ff2ba
MD5 ed0ca0ae90986227e61723a00c0101ad
BLAKE2b-256 7bc0614434b6848f2b0bbe7c4f1680758c7280c92bf3c47bede983175a25b17a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page