Skip to content
Permalink
Browse files

Make contact addresses dynamic, reformat file

  • Loading branch information...
ibot3 committed Sep 19, 2019
1 parent 30fe0db commit 97f7ab1e4e4c070a1ca8c73bd4658d1b1d51d30a
Showing with 312 additions and 278 deletions.
  1. +29 −1 sipa/config/default.py
  2. +283 −277 sipa/templates/base.html
@@ -17,7 +17,7 @@
# Maximum number of reverse proxies
NUM_PROXIES = 1

BACKENDS = ['sample']
BACKENDS = ['pycroft']

FLATPAGES_ROOT = None
FLATPAGES_EXTENSION = '.md'
@@ -67,3 +67,31 @@
# Membership contribution
# Amount of membership contribution in cents
MEMBERSHIP_CONTRIBUTION = 500

# Pycroft backend
PYCROFT_ENDPOINT = "http://pycroft_dev-app_1:5000/api/v0/"
PYCROFT_API_KEY = "secret"

DB_HELIOS_URI = "mysql+pymysql://verwaltung:{}@userdb.agdsn.network:3306/".format("secret")
DB_HELIOS_IP_MASK = "10.0.7.%"

# Contact addresses
CONTACT_ADDRESSES = [
{
'name': "Wundtstraße 5",
'doorbell': '0100',
'floor': 0,
'city': '01217 Dresden',
},
{
'name': "Hochschulstraße 50",
'doorbell': '0103',
'floor': 0,
'city': '01069 Dresden',
},
{
'name': "Borsbergstraße 34",
'floor': 7,
'city': '01309 Dresden',
},
]

0 comments on commit 97f7ab1

Please sign in to comment.
You can’t perform that action at this time.