symposion_app/vendor/registrasion
James Polley e546b7d814 Fix qhasuery modification so that conditions are combined
Borrowed from the pyconau-2017 fork

To explain the impact of this - without this patch, if a user has
their invoice refunded, they are able to buy a new ticket; but
t-shirts, dinner tickets and so on do not become available to them
again because they are listed has already been in a cart for them.

Applying the patch now correctly checks to see if they currently have
a ticket.

From 731eee0a4c42a5013ee312b1ff50548e4d89a2ff Mon Sep 17 00:00:00 2001
From: Richard Jones <r1chardj0n3s@gmail.com>
Date: Sun, 4 Jun 2017 13:22:34 +1000
Subject: [PATCH] Fix query modification so that conditions are combined

Previously it was checking if the user has a product from the category
in a cart, and if there is no cart that is released (refunded).
Not *if the user has a product in a cart that is not released*.

This patch combines them. In the absence of a __ne operation in the
joining syntax, a double equality check is needed.

Signed-off-by: Richard Jones <r1chardj0n3s@gmail.com>
2017-09-30 00:44:21 +10:00
..
design git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
docs git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
registrasion Fix qhasuery modification so that conditions are combined 2017-09-30 00:44:21 +10:00
requirements git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
.gitignore git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
.gitrepo git subrepo clone git@gitlab.com:tchaypo/registrasion.git vendor/registrasion 2017-09-30 00:44:21 +10:00
CONTRIBUTING.rst git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
LICENSE Vendor registration 2017-05-27 20:59:35 +10:00
README.rst git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
setup.cfg git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00
setup.py git subrepo pull vendor/registrasion 2017-09-30 00:44:14 +10:00

Registrasion
============

**Registra** (tion for Sympo) **sion**. A conference registration app for Django,
letting conferences big and small sell tickets from within Symposion.

Symposion
---------
``symposion`` is an Open Source conference management solution built with Pinax
apps for Django. For more information, see https://github.com/pinax/symposion.

registrasion
------------
``registrasion`` is a registration package that you use alongside Symposion. It
handles inventory management, as well as complex product inclusions, automatic
calculation of discounts, and invoicing. Payment of invoices can be faciliated
by manual filings of payments by staff, or through plugging in a payment app.

Initial development of ``registrasion`` was funded with the generous support of
the Python Software Foundation.

Quickstart
----------
``registrasion`` is a Django app. You will need to create a Django project to
customize and manage your Registrasion and Symposion installation. A
demonstration app project with templates is available at
https://github.com/chrisjrn/registrasion-demo

Documentation
-------------
The documentation for ``registrasion`` is available at
http://registrasion.readthedocs.org/