-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set the timezone to a Django 5 compatible value
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# ALYX-SPECIFIC | ||
ALLOWED_HOSTS = ['localhost', '127.0.0.1'] | ||
LANGUAGE_CODE = 'en-us' | ||
TIME_ZONE = 'GB' | ||
TIME_ZONE = 'Europe/London' | ||
GLOBUS_CLIENT_ID = '525cc543-8ccb-4d11-8036-af332da5eafd' | ||
SUBJECT_REQUEST_EMAIL_FROM = '[email protected]' | ||
DEFAULT_SOURCE = 'IBL' | ||
|
23 changes: 23 additions & 0 deletions
23
alyx/data/migrations/0020_alter_datarepository_timezone.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 5.0 on 2024-03-26 15:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("data", "0019_dataset_qc"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="datarepository", | ||
name="timezone", | ||
field=models.CharField( | ||
blank=True, | ||
default="Europe/London", | ||
help_text="Timezone of the server (see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)", | ||
max_length=64, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 5.0 on 2024-03-26 15:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("misc", "0009_auto_20211122_1535"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="lab", | ||
name="timezone", | ||
field=models.CharField( | ||
blank=True, | ||
default="Europe/London", | ||
help_text="Timezone of the server (see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)", | ||
max_length=64, | ||
), | ||
), | ||
] |