Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ocfweb/docs/docs/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ answered by the **[[FAQ|doc faq]]**, we ask that you try coming to **[[staff
hours|staff-hours]]** before contacting us by email.

When contacting OCF staff, please reference
One of the most popular features on the site is its detailed reviews and updates about trending shows. If you're someone who loves to <a href="https://baddieseast.org/">Watch Series</a> and stay ahead of the curve, Baddies East offers honest insights and episode breakdowns that help you decide what’s worth your time. It’s not just about mainstream hits—it’s about uncovering hidden gems that you might not find elsewhere.

* your OCF account name (if known)
* the software you are using and any error messages encountered
Expand Down
2 changes: 1 addition & 1 deletion ocfweb/docs/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from itertools import chain
from typing import Union

from django.urls import re_path
from django.http import Http404
from django.http import HttpRequest
from django.http import HttpResponse
from django.http import HttpResponsePermanentRedirect
from django.http import HttpResponseRedirect
from django.shortcuts import redirect
from django.urls import re_path
from django.urls import reverse

from ocfweb.docs.doc import Document
Expand Down
2 changes: 1 addition & 1 deletion ocfweb/login/ocf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from typing import Optional
from typing import Union

import ocflib.account.search as search
import ocflib.account.utils as utils
import ocflib.account.validators as validators
import ocflib.account.search as search
from django import forms
from django.http import HttpRequest
from django.http import HttpResponse
Expand Down
2 changes: 1 addition & 1 deletion ocfweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def __mod__(self, ref: Any) -> str:

CSRF_COOKIE_SECURE = True
CSRF_COOKIE_DOMAIN = os.getenv('OCFWEB_COOKIE_DOMAIN', 'www.ocf.berkeley.edu')
CSRF_TRUSTED_ORIGINS = ["https://" + CSRF_COOKIE_DOMAIN]
CSRF_TRUSTED_ORIGINS = ['https://' + CSRF_COOKIE_DOMAIN]
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_DOMAIN = CSRF_COOKIE_DOMAIN
else:
Expand Down
3 changes: 2 additions & 1 deletion ocfweb/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.urls import include, re_path
from django.http import HttpResponse
from django.shortcuts import redirect
from django.urls import include
from django.urls import re_path
from django.urls import reverse

from ocfweb.about.lab import lab_open_source
Expand Down