Changeset - fc88c31d82a2
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 17 months ago 2023-04-20 04:56:59
ben@sturm.com.au
Switch default country to US, currency to USD, tax to zero

Also default linux_australia to field to false to avoid IntegrityError.
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -137,3 +137,3 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        verbose_name="Country",
 
        default="AU",
 
        default="US",
 
    )
...
 
@@ -148,4 +148,3 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        help_text="Being under 18 will not stop you from attending the "
 
                  "conference. We need to know whether you are over 18 to "
 
                  "allow us to cater for you at venues that serve alcohol.",
 
                  "conference.",
 
        blank=True,
...
 
@@ -187,2 +186,3 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        blank=True,
 
        default=False,
 
    )
pinaxcon/settings.py
Show inline comments
...
 
@@ -378,4 +378,4 @@ ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
 
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
 
INVOICE_CURRENCY = "AUD"
 
GST_RATE =  Decimal('0.1')
 
INVOICE_CURRENCY = "USD"
 
GST_RATE =  Decimal('0')
 
TICKET_PRODUCT_CATEGORY = 1
0 comments (0 inline, 0 general)