Skip to content

Commit

Permalink
change application open date (#16)
Browse files Browse the repository at this point in the history
* change application open date

* reformat file

* changing closing date

* remove todo comment

* fix wrong date

* changes
  • Loading branch information
carmen-chau authored Sep 27, 2024
1 parent 6a5683b commit 96d224e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions hackathon_site/hackathon_site/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
if DEBUG:
ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
INTERNAL_IPS = ["localhost", "127.0.0.1"]
CORS_ORIGIN_REGEX_WHITELIST = [
r"^https?://localhost:?\d*$",
]
CORS_ORIGIN_REGEX_WHITELIST = [r"^https?://localhost:?\d*$"]
EMAIL_BACKEND = "django.core.mail.backends.filebased.EmailBackend"
HSS_URL = "http://localhost:3000/"
else:
Expand Down Expand Up @@ -192,7 +190,7 @@
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": f"redis://{REDIS_URI}",
"OPTIONS": {"CLIENT_CLASS": "django_redis.client.DefaultClient",},
"OPTIONS": {"CLIENT_CLASS": "django_redis.client.DefaultClient"},
# Default time for cache key expiry, in seconds. Can be changed on a per-key basis
"TIMEOUT": 600,
}
Expand All @@ -219,7 +217,7 @@
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination",
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.IsAuthenticated"],
"PAGE_SIZE": 100,
"DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend",],
"DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"],
}

# Internationalization
Expand Down Expand Up @@ -271,8 +269,8 @@
"version": 1,
"disable_existing_loggers": False,
"filters": {
"require_debug_false": {"()": "django.utils.log.RequireDebugFalse",},
"require_debug_true": {"()": "django.utils.log.RequireDebugTrue",},
"require_debug_false": {"()": "django.utils.log.RequireDebugFalse"},
"require_debug_true": {"()": "django.utils.log.RequireDebugTrue"},
},
"handlers": {
"console": {
Expand Down Expand Up @@ -318,7 +316,7 @@

REGISTRATION_OPEN_DATE = datetime(2024, 1, 18, 0, 0, 0, tzinfo=TZ_INFO)
REGISTRATION_CLOSE_DATE = datetime(2024, 10, 11, 23, 59, 0, tzinfo=TZ_INFO)
APPLICATION_OPEN_DATE = datetime(2025, 10, 1, 0, 0, 0, tzinfo=TZ_INFO)
APPLICATION_OPEN_DATE = datetime(2024, 9, 26, 0, 0, 0, tzinfo=TZ_INFO)
EVENT_START_DATE = datetime(2024, 10, 26, 8, 0, 0, tzinfo=TZ_INFO)
EVENT_END_DATE = datetime(2024, 10, 27, 17, 0, 0, tzinfo=TZ_INFO)
HARDWARE_SIGN_OUT_START_DATE = datetime(2024, 10, 28, 23, 59, 0, tzinfo=TZ_INFO)
Expand Down

0 comments on commit 96d224e

Please sign in to comment.