-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
34 lines (24 loc) · 1.07 KB
/
config.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
DEBUG = True
DATABASE = './db/thesis.db'
SECRET_KEY = b'W\xeb\xa7\xc4\x91\xb3\x89\x1e\xb3\xbe'
EMAIL_FORMAT = '^z[0-9]{7}@unsw.edu.au$'
EMAIL_FORMAT_ERROR = \
'Expected [email protected]<br>where z5555555 is your zID.'
COURSE_CODE_FORMAT = '^[A-Z]{4}[0-9]{4}$'
TOPIC_REQUEST_TEXT = 'Dear HEADER\n\n' + \
'I am a student about to start final year Thesis next semester.\n' + \
'I would like to express my interest in conducting my thesis ' + \
'project with you. I have a research interest in ...\n\n' + \
'The list below outlines the courses I have completed ' + \
'and experience/skills:\n\nI would like to book a time ' + \
'for a face-to-face discussion about the project that you ' + \
'may offer. I am available at the following time...\n\n' + \
'Kind Regards\nFOOTER'
SITE_HOME = 'http://localhost:5000/'
SYSTEM_EMAIL = '[email protected]'
SYSTEM_PASSWORD = 'Thesis000'
ACCOUNT_EXPIRY = 86400 # in seconds
STATIC_PATH = 'static'
FILE_UPLOAD_DIR = 'uploads'
MAX_WORD_LIMIT = 5000
MAX_FILE_SIZE = 100 # in megabytes