forked from gemdude46/pw-signup-new
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_file.py
34 lines (29 loc) · 5.08 KB
/
config_file.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
admin_password = '$2b$12$Rz9Z4HWX4cU4COBr9dUIv.IcA3VpNAeUqvCJY9063apFrVwjVhI9m'
database_URI = 'sqlite:///db.db'
fields = [
dict(dispname="Full Name:", intname="name", type="text", required=True),
dict(dispname="Email Address:", intname="email", type="email", required=True),
dict(dispname="Mobile Phone Number:", intname="mobile", type="text", length=16),
dict(dispname="Any allergies or specific dietary requirements?", intname="allergies", type="text", length=256),
dict(dispname="Any medication it would be useful for us to know about?", intname="medication", type="text", length=256),
dict(dispname="Any illnesses, injuries or conditions that it would be useful for us to know about?", intname="conditions", type="text", length=256),
dict(dispname="A website, blog, etc?", intname="website", type="text"),
dict(dispname="Partial date of birth (Month/Year):", intname="dob", type="text", pad=True, length=16),
dict(dispname="Any disabilities?", intname="disabilities", type="text"),
dict(dispname="Place of Residence Postcode:", intname="postcode", type="text", length=16),
dict(dispname="Gender:", intname="gender", type="text"),
dict(dispname="Ethnicity:", intname="ethnicity", type="text"),
dict(dispname="Religion:", intname="religion", type="text"),
dict(dispname="Emergency Contact 1:", intname="ignore_ec1", type="hidden", pad=True),
dict(dispname="Name:", intname="emergency_contact_1_name", type="text", required=True, indent=True),
dict(dispname="Relation to Member:", intname="emergency_contact_1_relation", type="text", required=True, indent=True),
dict(dispname="Phone Number:", intname="emergency_contact_1_phone", type="text", required=True, indent=True, length=16),
dict(dispname="Email:", intname="emergency_contact_1_email", type="email", required=True, indent=True),
dict(dispname="Emergency Contact 2:", intname="ignore_ec2", type="hidden", pad=True),
dict(dispname="Name:", intname="emergency_contact_2_name", type="text", required=True, indent=True),
dict(dispname="Relation to Member:", intname="emergency_contact_2_relation", type="text", required=True, indent=True),
dict(dispname="Phone Number:", intname="emergency_contact_2_phone", type="text", required=True, indent=True, length=16),
dict(dispname="Email:", intname="emergency_contact_2_email", type="email", required=True, indent=True)
]
ico = 'eJztWQlwFFUQ/VHKC5ESS4SyRMUg9ykgh0A4xANUECktRYESoRSxPFGEGEA5RKIUKBEJYiAQhdIAcoQjoljIJYgKCpJwSrgCCOTO7n92z5/Z2dnZNbuzi2A5L/U3uzN/+vjdv393jxBx9JeQIOjzFlGvixDVhRD1aNAlMVqo6xroQrXKahiACxcuXLhw4cKFCxcuXLhw4Qd5Zj9w4Btg43hgxQBgUW9g4d3Ase0XVrB5bZUsy58C1idBHsiGPJ2rZJYyOtr68/KLLkDypcB7wjrG09i/KloNosNbVpkkj+RKkDNrx4b+nObARKI5WefxDo1EGiNpvEpjz6LY8HGK53VZWKaxNCbH0aD/k0jmua3UHCd+QM9I9m3W2dD94xuBfRfY3gZYJ+m1Xju6Dfi0vk9mybYqyHPO45dZSnceb4doFRl7xPgZcD0mCOAReN3yu/AY8MHlSmbyW3z3hnO+2S+Y+k+vbudpfN+wExg2Fd52Q4H4J4A1W53zDIVXpgPNnoZMeBEykexSVGyXB/oaTa2i7VdJewAUuxxbYklfU//ZDa33DJu0fQ4QzSAFxQlRl/7XAtJXO+UYGp1fItq3E496NFppPDEpI+hUOaO22gMcA1LrOOfJ54qhf1pTO5+tu0mORjQSgAnzAm7G0P+9Xuv3e4cTz040QujGsk7Sz4MZNzvnW4H+GP4xyUDn7y2PASVlzvlEigNHdR9oCWz+3X4/rYlPf3xys3M+FenfN4lkuAtoOCAscuwSHq/1tyPwg9p+awMs22C//2/p35Niq+gANB4YEVl2mbYUKj0e56Jp+58JfbXOfi9W+mc+VIH+IyLWf/0OJXqlrhJ7/owiRoTQX6NIskrf/r/JOY/PO5v6p7ey83lgBMVkB/avC8R1lvhtv6l/xHtBO3OC21+mtzPj35TKERL2o/PBVSqPYv0XdLPd93Z7meToCDQaENYZa+jYg7bNZd0kcg9L37X8M0D7oRLNBwHnisIgpttfLvjWyoM/lveDnO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