Changeset - c56c7498700b
[Not reviewed]
1 4 1
Christopher Neugebauer - 8 years ago 2016-04-26 09:11:06
chrisjrn@gmail.com
Prepares registrasion-demo to match the 0.1 release of registrasion.
6 files changed with 29 insertions and 68 deletions:
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
deleted file
README.rst
Show inline comments
 
new file 100644
 
registrasion-demo
 
=================
 

	
 
PinaxCon
 
---------
 
`PinaxCon` is a working demo of Symposion and the Symposion Starter Project. It usually lives at https://github.com/pinax/PinaxCon
 

	
 
This is a fork of PinaxCon to demonstrate Registrasion, a registration package that works well with Symposion. You can find Registrasion at https://github.com/chrisjrn/registrasion
 

	
 
Registrasion has relaively complete docs at http://registrasion.readthedocs.org
 

	
 

	
 
What is the point of this?
 
--------------------------
 
This project provides some starter templates for much of the functionality of Registrasion, as well as demos of how to make payments and enter user profiles.
 

	
 
If you care to, you can also use this project as a starting point for your own Registrasion-based site.
fixtures/registrasion.json
Show inline comments
...
 
@@ -368,7 +368,7 @@
 
  }
 
},
 
{
 
  "model": "registrasion.enablingconditionbase",
 
  "model": "registrasion.flagbase",
 
  "pk": 1,
 
  "fields": {
 
    "description": "Extra accommodation depends on Accommodation",
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -11,7 +11,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 

	
 
    def invoice_recipient(self):
 
        if self.company:
 
            base = "%(name_per_invoice)s c/- %(company)s"
 
            base = "\n%(company)s\nAttention: %(name_per_invoice)s"
 
        else:
 
            base = "%(name_per_invoice)s"
 
        return base % self.__dict__
pinaxcon/templates/registrasion/invoice.html
Show inline comments
...
 
@@ -25,7 +25,8 @@
 
  {% if user.is_staff %}
 
  <div>
 
    {% if user.is_staff %}
 
      <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a>
 
    <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a>
 
    <a class="btn btn-default" href="{% url "refund" invoice.id %}">Refund by issuing credit note</a>
 
    {% endif %}
 
  </div>
 
  {% endif %}
...
 
@@ -43,7 +44,7 @@
 
    {% if not invoice.is_void %}
 
      <li><strong>Due:</strong> {{ invoice.due_time|date:"DATETIME_FORMAT"}}</li>
 
    {% endif %}
 
    <li><strong>Attention:</strong> {{ invoice_user.attendee.attendeeprofilebase.invoice_recipient }}</li>
 
    <li><strong>Recipient:</strong> {{ invoice_user.attendee.attendeeprofilebase.invoice_recipient|linebreaksbr}}</li>
 
  </ul>
 
{% endwith %}
 

	
requirements.txt
Show inline comments
...
 
@@ -8,6 +8,10 @@ dj-database-url==0.4.0
 
pinax-pages==0.4.2
 
pinax-boxes==2.1.2
 

	
 
# run off of master for now
 
git+https://github.com/pinax/symposion.git
 
git+https://github.com/chrisjrn/registrasion.git@demo_site_integration
 
# For testing
 
django-nose==1.4.3
 
coverage==4.0.3
 

	
 
# Registrasion
 
registrasion==0.1.0
 
https://github.com/pinax/symposion/tarball/ad81810#egg=symposion
0 comments (0 inline, 0 general)