Skip to content

Commit a116607

Browse files
committed
revert hackathon_variables
1 parent 74e5497 commit a116607

File tree

1 file changed

+44
-56
lines changed

1 file changed

+44
-56
lines changed

app/hackathon_variables.py

Lines changed: 44 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -4,71 +4,61 @@
44

55
from django.utils import timezone
66

7-
HACKATHON_NAME = "HackUPC"
7+
HACKATHON_NAME = 'HackUPC'
88
# What's the name for the application
9-
HACKATHON_APPLICATION_NAME = "My HackUPC"
9+
HACKATHON_APPLICATION_NAME = 'My HackUPC'
1010
# Hackathon timezone
11-
TIME_ZONE = "CET"
11+
TIME_ZONE = 'CET'
1212
# This description will be used on the html and sharing meta tags
13-
HACKATHON_DESCRIPTION = "Join us for BarcelonaTech's hackathon. 36h. May 3 - 5."
13+
HACKATHON_DESCRIPTION = 'Join us for BarcelonaTech\'s hackathon. 36h. May 3 - 5.'
1414
# Domain where application is deployed, can be set by env variable
15-
HACKATHON_DOMAIN = os.environ.get("DOMAIN", None)
16-
HEROKU_APP_NAME = os.environ.get("HEROKU_APP_NAME", None)
15+
HACKATHON_DOMAIN = os.environ.get('DOMAIN', None)
16+
HEROKU_APP_NAME = os.environ.get('HEROKU_APP_NAME', None)
1717
if HEROKU_APP_NAME and not HACKATHON_DOMAIN:
18-
HACKATHON_DOMAIN = "%s.herokuapp.com" % HEROKU_APP_NAME
18+
HACKATHON_DOMAIN = '%s.herokuapp.com' % HEROKU_APP_NAME
1919
elif not HACKATHON_DOMAIN:
20-
HACKATHON_DOMAIN = "localhost:8000"
20+
HACKATHON_DOMAIN = 'localhost:8000'
2121
# Hackathon contact email: where should all hackers contact you. It will also be used as a sender for all emails
22-
HACKATHON_CONTACT_EMAIL = "[email protected]"
22+
HACKATHON_CONTACT_EMAIL = '[email protected]'
2323
# Hackathon logo url, will be used on all emails
24-
HACKATHON_LOGO_URL = "https://my.hackupc.com/static/logo.png"
24+
HACKATHON_LOGO_URL = 'https://my.hackupc.com/static/logo.png'
2525

26-
HACKATHON_OG_IMAGE = "https://hackupc.com/ogimage.png?v=2021"
26+
HACKATHON_OG_IMAGE = 'https://hackupc.com/ogimage.png?v=2021'
2727
# (OPTIONAL) Track visits on your website
28-
HACKATHON_GOOGLE_ANALYTICS = "UA-69542332-2"
28+
HACKATHON_GOOGLE_ANALYTICS = 'UA-69542332-2'
2929
# (OPTIONAL) Hackathon Twitter user
30-
HACKATHON_TWITTER_ACCOUNT = "hackupc"
30+
HACKATHON_TWITTER_ACCOUNT = 'hackupc'
3131
# (OPTIONAL) Hackathon Facebook page
32-
HACKATHON_FACEBOOK_PAGE = "hackupc"
32+
HACKATHON_FACEBOOK_PAGE = 'hackupc'
3333
# (OPTIONAL) Hackathon YouTube channel
34-
HACKATHON_YOUTUBE_PAGE = "UCiiRorGg59Xd5Sjj9bjIt-g"
34+
HACKATHON_YOUTUBE_PAGE = 'UCiiRorGg59Xd5Sjj9bjIt-g'
3535
# (OPTIONAL) Hackathon Instagram user
36-
HACKATHON_INSTAGRAM_ACCOUNT = "hackupc"
36+
HACKATHON_INSTAGRAM_ACCOUNT = 'hackupc'
3737
# (OPTIONAL) Hackathon Medium user
38-
HACKATHON_MEDIUM_ACCOUNT = "hackupc"
38+
HACKATHON_MEDIUM_ACCOUNT = 'hackupc'
3939
# (OPTIONAL) Github Repo for this project (so meta)
40-
HACKATHON_GITHUB_REPO = "https://github.com/hackupc/myhackupc/"
40+
HACKATHON_GITHUB_REPO = 'https://github.com/hackupc/myhackupc/'
4141

4242
# (OPTIONAL) Applications deadline
43-
HACKATHON_APP_DEADLINE = timezone.datetime(
44-
2025, 5, 3, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE)
45-
)
46-
VOLUNTEER_APP_DEADLINE = timezone.datetime(
47-
2025, 5, 9, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE)
48-
)
49-
MENTOR_APP_DEADLINE = timezone.datetime(
50-
2025, 5, 1, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE)
51-
)
43+
HACKATHON_APP_DEADLINE = timezone.datetime(2023, 5, 3, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE))
44+
VOLUNTEER_APP_DEADLINE = timezone.datetime(2023, 5, 9, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE))
45+
MENTOR_APP_DEADLINE = timezone.datetime(2023, 5, 1, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE))
5246
# (OPTIONAL) Online checkin activated
53-
ONLINE_CHECKIN = timezone.datetime(
54-
2022, 4, 29, 17, 00, tzinfo=timezone.pytz.timezone(TIME_ZONE)
55-
)
47+
ONLINE_CHECKIN = timezone.datetime(2022, 4, 29, 17, 00, tzinfo=timezone.pytz.timezone(TIME_ZONE))
5648
# (OPTIONAL) When to arrive at the hackathon
57-
HACKATHON_ARRIVE = ""
49+
HACKATHON_ARRIVE = ''
5850

5951
# (OPTIONAL) When to arrive at the hackathon
60-
HACKATHON_LEAVE = ""
52+
HACKATHON_LEAVE = ''
6153

6254
# (OPTIONAL) Hackathon live page
63-
HACKATHON_LIVE_PAGE = "https://live.hackupc.com"
55+
HACKATHON_LIVE_PAGE = 'https://live.hackupc.com'
6456

6557
# (OPTIONAL) Regex to automatically match organizers emails and set them as organizers when signing up
66-
REGEX_HACKATHON_ORGANIZER_EMAIL = "^.*@hackupc\.com$"
58+
REGEX_HACKATHON_ORGANIZER_EMAIL = '^.*@hackupc\.com$'
6759

6860
# (OPTIONAL) Send 500 errors to email while on production mode
69-
HACKATHON_DEV_EMAILS = [
70-
71-
]
61+
HACKATHON_DEV_EMAILS = ['[email protected]', ]
7262

7363
# Baggage configuration
7464
BAGGAGE_ENABLED = True
@@ -77,12 +67,10 @@
7767
# Reimbursement configuration
7868
REIMBURSEMENT_ENABLED = True
7969
DEFAULT_REIMBURSEMENT_AMOUNT = 100
80-
CURRENCY = "€"
70+
CURRENCY = '€'
8171
REIMBURSEMENT_EXPIRY_DAYS = 5
82-
REIMBURSEMENT_REQUIREMENTS = "You have to submit a project and demo it during the event in order to get reimbursed"
83-
REIMBURSEMENT_DEADLINE = timezone.datetime(
84-
2023, 5, 11, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE)
85-
)
72+
REIMBURSEMENT_REQUIREMENTS = 'You have to submit a project and demo it during the event in order to get reimbursed'
73+
REIMBURSEMENT_DEADLINE = timezone.datetime(2023, 5, 11, 23, 59, tzinfo=timezone.pytz.timezone(TIME_ZONE))
8674

8775
# (OPTIONAL) Max team members. Defaults to 4
8876
TEAMS_ENABLED = True
@@ -94,9 +82,9 @@
9482
# (OPTIONAL) Slack credentials
9583
# Highly recommended to create a separate user account to extract the token from
9684
SLACK = {
97-
"team": os.environ.get("SL_TEAM", "test"),
85+
'team': os.environ.get('SL_TEAM', 'test'),
9886
# Get it here: https://api.slack.com/custom-integrations/legacy-tokens
99-
"token": os.environ.get("SL_TOKEN", None),
87+
'token': os.environ.get('SL_TOKEN', None)
10088
}
10189

10290
# (OPTIONAL) Logged in cookie
@@ -107,16 +95,16 @@
10795
# Hardware configuration
10896
# Hardware request time length (in minutes)
10997
HARDWARE_ENABLED = True
110-
# Hardware request time length (in minutes)
98+
#Hardware request time length (in minutes)
11199
HARDWARE_REQUEST_TIME = 15
112100

113101

114102
SLACK_BOT = {
115-
"id": os.environ.get("SL_BOT_ID", None),
116-
"token": os.environ.get("SL_BOT_TOKEN", None),
117-
"channel": os.environ.get("SL_BOT_CHANNEL", None),
118-
"director1": os.environ.get("SL_BOT_DIRECTOR1", None),
119-
"director2": os.environ.get("SL_BOT_DIRECTOR2", None),
103+
'id': os.environ.get('SL_BOT_ID', None),
104+
'token': os.environ.get('SL_BOT_TOKEN', None),
105+
'channel': os.environ.get('SL_BOT_CHANNEL', None),
106+
'director1': os.environ.get('SL_BOT_DIRECTOR1', None),
107+
'director2': os.environ.get('SL_BOT_DIRECTOR2', None)
120108
}
121109
# Enable judging tab
122110
JUDGING_ENABLED = False
@@ -131,7 +119,7 @@
131119
# Enable blacklist separate pipeline (disabled by default)
132120
BLACKLIST_ENABLED = True
133121

134-
SUPPORTED_RESUME_EXTENSIONS = [".pdf"]
122+
SUPPORTED_RESUME_EXTENSIONS = ['.pdf']
135123

136124
# Mentor/Volunteer applications can expire if they are invited, set to False to not
137125
MENTOR_EXPIRES = False
@@ -141,9 +129,9 @@
141129
HYBRID_HACKATHON = False
142130
N_MAX_LIVE_HACKERS = 600
143131

144-
SERVER_EMAIL = "HackUPC Team <[email protected]>"
132+
SERVER_EMAIL = 'HackUPC Team <[email protected]>'
145133

146-
CODE_CONDUCT_LINK = "https://legal.hackersatupc.org/hackupc/code_of_conduct"
147-
LEGAL_LINK = "https://legal.hackersatupc.org/hackupc/legal_notice"
148-
PRIVACY_LINK = "https://legal.hackersatupc.org/hackupc/privacy_and_cookies"
149-
TERMS_LINK = "https://legal.hackersatupc.org/hackupc/terms_and_conditions"
134+
CODE_CONDUCT_LINK = 'https://legal.hackersatupc.org/hackupc/code_of_conduct'
135+
LEGAL_LINK = 'https://legal.hackersatupc.org/hackupc/legal_notice'
136+
PRIVACY_LINK = 'https://legal.hackersatupc.org/hackupc/privacy_and_cookies'
137+
TERMS_LINK = 'https://legal.hackersatupc.org/hackupc/terms_and_conditions'

0 commit comments

Comments
 (0)