-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into migrating-pages
- Loading branch information
Showing
10 changed files
with
66 additions
and
3 deletions.
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 |
---|---|---|
|
@@ -169,3 +169,11 @@ | |
LOGOUT_REDIRECT_URL = "/" | ||
|
||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") | ||
|
||
# Email Settings | ||
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" | ||
EMAIL_HOST = os.environ.get("EMAIL_HOST", "smtp.gmail.com") | ||
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", "[email protected]") | ||
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD", "gmailapppassword") | ||
EMAIL_PORT = 465 | ||
EMAIL_USE_SSL = True |
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
21 changes: 21 additions & 0 deletions
21
corpus/embedathon/migrations/0005_alter_embedathonuser_year.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,21 @@ | ||
# Generated by Django 4.2.4 on 2023-12-27 09:59 | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("embedathon", "0004_announcement"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="embedathonuser", | ||
name="year", | ||
field=models.CharField( | ||
choices=[("1", "1st Year"), ("2", "2nd Year"), ("3", "3rd Year")], | ||
max_length=1, | ||
), | ||
), | ||
] |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
asgiref==3.7.2 | ||
Django==4.2.4 | ||
Django==4.2.7 | ||
gunicorn==21.2.0 | ||
packaging==23.1 | ||
Pillow==10.0.1 | ||
|
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
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
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 |
---|---|---|
|
@@ -38,6 +38,7 @@ services: | |
restart: always | ||
ports: | ||
- "8000:8000" | ||
- "465:465" | ||
networks: | ||
- corpus_network | ||
volumes: | ||
|
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 |
---|---|---|
|
@@ -12,3 +12,8 @@ POSTGRES_DB="corpus" | |
POSTGRES_HOST="postgres" | ||
POSTGRES_PORT="5432" | ||
ADMINER_PORT="8080" | ||
|
||
# Email Settings | ||
EMAIL_HOST="smtp.gmail.com" | ||
EMAIL_HOST_USER="[email protected]" | ||
EMAIL_HOST_PASSWORD="smtpgmailpassword" |
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