Skip to main content

django-wishlist

https://img.shields.io/pypi/v/django-wishlist.svg https://img.shields.io/travis/dokterbob/django-wishlist/master.svg https://coveralls.io/repos/dokterbob/django-wishlist/badge.svg?branch=master&service=github Code Health

Generic user wishlists for use with any Django model.

What is it?

Generic user wishlists for shops and the likes.

Status

Alpha. Don’t use it, unless you’re willing to fix issues. Will be released on PyPI as soon as tested in limited production.

Compatibility

Tested to work with Django 1.8 and 1.9 and Python 2.7.

Requirements

Please refer to requirements.txt for an updated list of required packages.

Installation

The package is available

To install:

  1. Install the django-wishlist app:

    pip install django-wishlist
  2. In your Django settings:

    • Add ‘wishlist’ to INSTALLED_APPS.

    • Configure WISHLIST_ITEM_MODEL to the model used for wishlist items.

    • Optionally: add wishlist.context_processors.wishlist_items to your TEMPLATE_CONTEXT_PROCESSORS.

    For example:

    INSTALLED_APPS = [
        ...
        'wishlist'
        ...
    ]
    
    TEMPLATE_CONTEXT_PROCESSORS = [
        ...
        'wishlist.context_processors.wishlist_items',
        ...
    ]
    
    WISHLIST_ITEM_MODEL = 'my_webshop.Product'
  3. In urls.py add:

    (r'^/wishlist/', include('wishlist.urls')),
  4. Update the database:

    ./manage.py migrate

    Note Migrations do not work as the model is dynamically configured.

Usage

Create a button to add an item to the wishlist simply from within your template.

At the top of the page add:

{% load wishlist_tags %}

And where you want the button add:

{% wishlist_add_form product %}

Where product is the product you want to add to the wishlist.

Tests

Tests for pull req’s and the master branch are automatically run through Travis CI.

License

This application is released under the GNU Affero General Public License version 3.

Changes

1.0 (6-5-2016)

  • Move tests to project root, use Django’s native test runner.

  • Support Django 1.8 and 1.9.

  • Drop support for Django 1.7 and below.

  • Production release after about a year of internal production use.

0.2

  • Never released but used internally in production.

Metadata

Release files for django-wishlist 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-wishlist 1.0
File Size Uploaded Provenance Actions
django-wishlist-1.0.tar.gz 23.4 kB Without provenance Details for django-wishlist-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-wishlist 1.0
File Interpreter ABI Platform Actions
django_wishlist-1.0-py2-none-any.whl Python 2 none any Details for django_wishlist-1.0-py2-none-any.whl

Total release size: 42.8 kB

Release files / django-wishlist-1.0.tar.gz

Download URL django-wishlist-1.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b7fa5e84ea344623b9e2bb8fec785e6fc30790d58f867603716a1ff92c82b863
BLAKE2b-256 checksum
How to use checksums
da92620d19f71a6c014f9cdbb5529e9a57d84dce30f7055c903afafaf0eb29ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_wishlist-1.0-py2-none-any.whl

Download URL django_wishlist-1.0-py2-none-any.whl
Size 19.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b6bf59fd44f47b13242764c4f13d176485291e018febdc0ce3c6293d29ee45d8
BLAKE2b-256 checksum
How to use checksums
8d3f79f39ce43cd0129b52f14279db245bb71a6ff13a65d8611782d0f573d8ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-wishlist 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

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