Changeset - cbecbf9a4102
[Not reviewed]
0 3 0
Christopher Neugebauer - 8 years ago 2016-04-25 08:50:09
chrisjrn@gmail.com
Tidies up some docs
3 files changed with 6 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/integration.rst
Show inline comments
 
Integrating Registrasion
 
========================
 

	
 
Registrasion is a Django app. It does not provide any templates -- you'll need to develop these yourself. You can use the ``registrasion-demo`` project as a starting point.
 
Registrasion is a Django app. It does not provide any templates -- you'll need to develop these yourself. You can use the `registrasion-demo <https://github.com/chrisjrn/registrasion-demo>`_ project as a starting point.
 

	
 
To use Registrasion for your own conference, you'll need to do a small amount of development work, usually in your own Django App.
 

	
 
The first is to define a model and form for your attendee profile, and the second is to implement a payment app.
 

	
 

	
docs/inventory.rst
Show inline comments
 

	
 
Inventory Management
 
====================
 

	
 
Registrasion uses an inventory model to keep track of tickets, and the other various products that attendees of your conference might want to have, such as t-shirts and dinner tickets.
 

	
 
All of the classes described herein are available through the Django Admin interface.
 

	
 
Overview
 
--------
 

	
 
The inventory model is split up into Categories and Products. Categories are used to group Products.
 

	
 
Registrasion uses conditionals to build up complex tickets, or enable/disable specific items to specific users:
 

	
 
Often, you will want to offer free items, such as t-shirts or dinner tickets to your attendees. Registrasion has a Discounts facility that lets you automatically offer free items to your attendees as part of their tickets. You can also automatically offer promotional discounts, such as Early Bird discounts.
 

	
registrasion/controllers/cart.py
Show inline comments
...
 
@@ -275,13 +275,12 @@ class CartController(object):
 

	
 
        if errors:
 
            raise ValidationError(errors)
 

	
 
    def _append_errors(self, errors, ve):
 
        for error in ve.error_list:
 
            print error.message
 
            errors.append(error.message[1])
 

	
 
    def validate_cart(self):
 
        ''' Determines whether the status of the current cart is valid;
 
        this is normally called before generating or paying an invoice '''
 

	
0 comments (0 inline, 0 general)