# Emails
DEFAULT_EMAIL = "webmaster@postgresql.eu"
+SERVER_EMAIL = "webmaster@postgresql.eu"
TREASURER_EMAIL = "treasurer@postgresql.eu"
INVOICE_SENDER_EMAIL = "treasurer@postgresql.eu"
MEMBERSHIP_SENDER_EMAIL = "webmaster@postgresql.eu"
+# Membership
+MEMBERSHIP_LENGTH = 2
+MEMBERSHIP_COST = 10
+def MEMBERSHIP_COUNTRY_VALIDATOR(country):
+ if hasattr(country, 'europecountry'):
+ return True
+ return "Membership in PostgreSQL Europe is available to people living in geographical Europe. Exceptions to this may be provided on a case by case basis by the board. Please contact the board via email if you are seeing this message in error."
+
+
# Ugh
EU_VAT = True
EU_VAT_HOME_COUNTRY = "FR"