Switch default country to US, currency to USD, tax to zero
Also default linux_australia to field to false to avoid IntegrityError.
This commit is contained in:
parent
bfaa7d9115
commit
fc88c31d82
2 changed files with 5 additions and 5 deletions
|
@ -135,7 +135,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
|
||||||
)
|
)
|
||||||
country = CountryField(
|
country = CountryField(
|
||||||
verbose_name="Country",
|
verbose_name="Country",
|
||||||
default="AU",
|
default="US",
|
||||||
)
|
)
|
||||||
state = models.CharField(
|
state = models.CharField(
|
||||||
max_length=256,
|
max_length=256,
|
||||||
|
@ -146,8 +146,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
|
||||||
of_legal_age = models.BooleanField(
|
of_legal_age = models.BooleanField(
|
||||||
verbose_name="Are you over 18?",
|
verbose_name="Are you over 18?",
|
||||||
help_text="Being under 18 will not stop you from attending the "
|
help_text="Being under 18 will not stop you from attending the "
|
||||||
"conference. We need to know whether you are over 18 to "
|
"conference.",
|
||||||
"allow us to cater for you at venues that serve alcohol.",
|
|
||||||
blank=True,
|
blank=True,
|
||||||
)
|
)
|
||||||
dietary_restrictions = models.CharField(
|
dietary_restrictions = models.CharField(
|
||||||
|
@ -185,6 +184,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
|
||||||
"<a href='http://www.linux.org.au/'>Linux Australia</a> "
|
"<a href='http://www.linux.org.au/'>Linux Australia</a> "
|
||||||
"membership.",
|
"membership.",
|
||||||
blank=True,
|
blank=True,
|
||||||
|
default=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
lca_announce = models.BooleanField(
|
lca_announce = models.BooleanField(
|
||||||
|
|
|
@ -376,8 +376,8 @@ MAIN_CONFERENCE_PROPOSAL_KINDS = ("Talk",)
|
||||||
# Registrasion bits:
|
# Registrasion bits:
|
||||||
ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
|
ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
|
||||||
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
|
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
|
||||||
INVOICE_CURRENCY = "AUD"
|
INVOICE_CURRENCY = "USD"
|
||||||
GST_RATE = Decimal('0.1')
|
GST_RATE = Decimal('0')
|
||||||
TICKET_PRODUCT_CATEGORY = 1
|
TICKET_PRODUCT_CATEGORY = 1
|
||||||
TERMS_PRODUCT_CATEGORY = 2
|
TERMS_PRODUCT_CATEGORY = 2
|
||||||
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
|
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
|
||||||
|
|
Loading…
Reference in a new issue