Skip to content

Commit b1870f1

Browse files
committed
update domain.
1 parent 2d466d8 commit b1870f1

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

abjhelp/contrib/sites/migrations/0003_set_site_domain_and_name.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def update_site_forward(apps, schema_editor):
1313
Site.objects.update_or_create(
1414
id=settings.SITE_ID,
1515
defaults={
16-
"domain": "example.com",
16+
"domain": "unconviteporabejorral.org",
1717
"name": "abjhelp",
1818
},
1919
)
@@ -23,7 +23,7 @@ def update_site_backward(apps, schema_editor):
2323
"""Revert site domain and name to default."""
2424
Site = apps.get_model("sites", "Site")
2525
Site.objects.update_or_create(
26-
id=settings.SITE_ID, defaults={"domain": "example.com", "name": "example.com"}
26+
id=settings.SITE_ID, defaults={"domain": "unconviteporabejorral.org", "name": "unconviteporabejorral.org"}
2727
)
2828

2929

abjhelp/templates/base.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
<i class="bx bxl-github text-primary display-5" style="font-size: xx-large;"></i>
5454
<p class="mt-0 pt-0 mb-0">Código fuente libre bajo licencia <a href="https://opensource.org/licenses/GPL-3.0">GPLv3</a></p>
5555
<p class="mt-0 pt-0 mb-0">Desarrollado por: <a href="https://github.com/aleducode">Alejandro Duque</a></p>
56-
<p class="mt-0 pt-0 mb-0"> Revisá el código <a href="https://github.com/aleducode">acá</a></p>
56+
<p class="mt-0 pt-0 mb-0"> Revisá el código <a href="https://github.com/aleducode/help-abejorral">acá</a></p>
57+
<p>2020</p>
5758

5859
</div>
5960
</div>

compose/production/traefik/traefik.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ certificatesResolvers:
2626
http:
2727
routers:
2828
web-router:
29-
rule: "Host(`example.com`) || Host(`www.example.com`)"
29+
rule: "Host(`unconviteporabejorral.org`) || Host(`www.unconviteporabejorral.org`)"
3030

3131
entryPoints:
3232
- web
@@ -36,7 +36,7 @@ http:
3636
service: django
3737

3838
web-secure-router:
39-
rule: "Host(`example.com`) || Host(`www.example.com`)"
39+
rule: "Host(`unconviteporabejorral.org`) || Host(`www.unconviteporabejorral.org`)"
4040

4141
entryPoints:
4242
- web-secure
@@ -48,7 +48,7 @@ http:
4848
certResolver: letsencrypt
4949

5050
flower-secure-router:
51-
rule: "Host(`example.com`)"
51+
rule: "Host(`unconviteporabejorral.org`)"
5252
entryPoints:
5353
- flower
5454
service: flower

config/settings/production.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
1515
SECRET_KEY = env("DJANGO_SECRET_KEY")
1616
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
17-
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["example.com"])
17+
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["unconviteporabejorral.org"])
1818

1919
# DATABASES
2020
# ------------------------------------------------------------------------------
@@ -114,7 +114,7 @@
114114
# ------------------------------------------------------------------------------
115115
# https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email
116116
DEFAULT_FROM_EMAIL = env(
117-
"DJANGO_DEFAULT_FROM_EMAIL", default="abjhelp <noreply@example.com>"
117+
"DJANGO_DEFAULT_FROM_EMAIL", default="abjhelp <noreply@unconviteporabejorral.org>"
118118
)
119119
# https://docs.djangoproject.com/en/dev/ref/settings/#server-email
120120
SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL)

0 commit comments

Comments
 (0)