trying like that
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-03-16 18:30:37 +00:00
parent ce4a4838f1
commit 06024c82c1
4 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
from django.conf import settings
from django_hosts import patterns, host
host_patterns = patterns(
"path.to",
host(r"django-testing", "urls.py", name="django-testing"),
host(r"redirect", "redirect_urls.py", name="redirect"),
host(r"django-testing", settings.ROOT_URLCONF, name="django-testing"),
host(r"redirect", 'website_redirectionapp.urls', name="redirect"),
)
+3
View File
@@ -54,6 +54,9 @@ MIDDLEWARE = [
]
ROOT_URLCONF = 'django_code.urls'
ROOT_HOSTCONF = 'django_code.hosts'
DEFAULT_HOST = 'django-tryton'
TEMPLATES = [
{
-2
View File
@@ -27,8 +27,6 @@ from stash_management import apps as stashapp
from stash_management import views as stashview
from website_redirection import apps as website_redirectionapp
ROOT_HOSTCONF = 'hosts.py'
DEFAULT_HOST = 'django-testing.tryton.geeraert.eu'
urlpatterns = [
# path('admin/', admin.site.urls),