Remove settings that now live in the database
authorMagnus Hagander <[email protected]>
Sat, 26 Jan 2019 15:15:16 +0000 (16:15 +0100)
committerMagnus Hagander <[email protected]>
Sat, 26 Jan 2019 15:15:16 +0000 (16:15 +0100)
code/skin_settings.py

index d07d432c5e2de66ac940a5aa868225f55f4d9f62..789ce21d4d81490b890cec957ae60585b3b2e62c 100644 (file)
@@ -12,7 +12,6 @@ ORG_SHORTNAME = "PGEU"
 ENABLE_PG_COMMUNITY_AUTH = True
 ENABLE_MEMBERSHIP = True
 ENABLE_ELECTIONS = True
-ENABLE_TRUSTLY = True
 ENABLE_AUTO_ACCOUNTING = True
 
 # Emails
@@ -20,16 +19,6 @@ DEFAULT_EMAIL = "[email protected]"
 SERVER_EMAIL = "[email protected]"
 TREASURER_EMAIL = "[email protected]"
 INVOICE_SENDER_EMAIL = "[email protected]"
-MEMBERSHIP_SENDER_EMAIL = "[email protected]"
-
-# 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
@@ -40,17 +29,6 @@ EU_VAT_VALIDATE = True
 INVOICE_PDF_BUILDER = 'pgeuinvoices.PGEUInvoice'
 REFUND_PDF_BUILDER = 'pgeuinvoices.PGEURefund'
 
-# Paypal
-PAYPAL_EMAIL = "[email protected]"
-PAYPAL_RECEIVER = "[email protected]"
-PAYPAL_DONATION_TEXT = "PostgreSQL Europe"
-
 # CM balance fetching account
 CM_USER_ACCOUNT = None
 CM_USER_PASSWORD = None
-
-# Load trustly keys
-with open(os.path.join(os.path.dirname(__file__), 'trustly_public.pem'), 'r') as f:
-    TRUSTLY_PUBLIC_KEY = f.read()
-with open(os.path.join(os.path.dirname(__file__), 'trustly_private.pem'), 'r') as f:
-    TRUSTLY_PRIVATE_KEY = f.read()