Gift Registry is a minimal wedding registry app. Guests can browse the list of gifts you’ve added, then choose one by entering their email address. If it’s a one-only type gift, the item is marked as chosen so you don’t receive two.
Quick start
Add required INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'django.contrib.sites', 'gift-registry', ... )Add a setting to describe your event:
GIFT_REGISTRY_SETTINGS = { 'EVENT_NAME': "Alice and Bob's Wedding", }Include the gifts URLconf in your project urls.py like this:
url(r'^gift-registry/', include('gift_registry.urls')),Run python manage.py syncdb to create the Gift Registry models.
Start the development server and visit http://127.0.0.1:8000/admin/gift_registry/gift/ to add gift ideas.
Visit http://127.0.0.1:8000/gift-registry/ to browse the public list.
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.
Metadata
Release files for django-gift-registry 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-gift-registry-0.2.tar.gz | 49.7 kB | Details |
Release files / django-gift-registry-0.2.tar.gz
| Download URL | django-gift-registry-0.2.tar.gz |
|---|---|
| Size | 49.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
794726f1642776eca967ec2890d584e7287795800dd100c5735d9cbfcaa86eb8
|
|
BLAKE2b-256 checksum How to use checksums |
89f97a940df73020b39845fe02d18da2f5e6e1db92ff63c14bfbbb1fe1d4247a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |