Skip to content

Commit e215218

Browse files
update emma's username in officers (#869)
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 322e28b commit e215218

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

ocfweb/docs/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
from itertools import chain
33
from typing import Union
44

5-
from django.urls import re_path
65
from django.http import Http404
76
from django.http import HttpRequest
87
from django.http import HttpResponse
98
from django.http import HttpResponsePermanentRedirect
109
from django.http import HttpResponseRedirect
1110
from django.shortcuts import redirect
11+
from django.urls import re_path
1212
from django.urls import reverse
1313

1414
from ocfweb.docs.doc import Document

ocfweb/docs/views/officers.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def __str__(self) -> str:
162162
'erdaifuu': 'Carl Luo',
163163
'ericyang': 'Eric Yang',
164164
'erikm': 'Erik Muller',
165-
'ethanhs': 'Emma Smith',
166165
'ethanhu': 'Ethan Hu',
167166
'etw': 'Ethan Wu',
168167
'ewhatt': 'Emily Watt',
@@ -404,13 +403,13 @@ def _bod_terms() -> List[Term]:
404403
),
405404
Term(
406405
'Spring 2019', gms=['abizer', 'awelty'], sms=['bzh', 'dkessler'],
407-
dgms=['asai'], dsms=['ethanhs', 'cooperc'],
406+
dgms=['asai'], dsms=['ehs', 'cooperc'],
408407
),
409408
Term(
410409
'Fall 2019',
411410
gms=['cooperc', 'php'],
412411
sms=[
413-
('ethanhs', date(2019, 5, 18), date(2019, 11, 18)),
412+
('ehs', date(2019, 5, 18), date(2019, 11, 18)),
414413
'fydai',
415414
],
416415
),
@@ -461,7 +460,7 @@ def _bod_terms() -> List[Term]:
461460
Term(
462461
'Fall 2021',
463462
gms=['snarain', 'ncberberi'],
464-
sms=['ethanhs', 'njha'],
463+
sms=['ehs', 'njha'],
465464
heads=[
466465
('Internal', ['rjz', 'ronitnath']),
467466
('Industry and Alumni Relations', ['kmo']),

ocfweb/login/ocf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
from typing import Optional
55
from typing import Union
66

7+
import ocflib.account.search as search
78
import ocflib.account.utils as utils
89
import ocflib.account.validators as validators
9-
import ocflib.account.search as search
1010
from django import forms
1111
from django.http import HttpRequest
1212
from django.http import HttpResponse

ocfweb/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def __mod__(self, ref: Any) -> str:
180180

181181
CSRF_COOKIE_SECURE = True
182182
CSRF_COOKIE_DOMAIN = os.getenv('OCFWEB_COOKIE_DOMAIN', 'www.ocf.berkeley.edu')
183-
CSRF_TRUSTED_ORIGINS = ["https://" + CSRF_COOKIE_DOMAIN]
183+
CSRF_TRUSTED_ORIGINS = ['https://' + CSRF_COOKIE_DOMAIN]
184184
SESSION_COOKIE_SECURE = True
185185
SESSION_COOKIE_DOMAIN = CSRF_COOKIE_DOMAIN
186186
else:

ocfweb/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from django.urls import include, re_path
21
from django.http import HttpResponse
32
from django.shortcuts import redirect
3+
from django.urls import include
4+
from django.urls import re_path
45
from django.urls import reverse
56

67
from ocfweb.about.lab import lab_open_source

0 commit comments

Comments
 (0)