feat: добавить шаблон "Услуги" и обновить ALLOWED_HOSTS
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Создан шаблон home/services.html с базовой структурой - Включён localhost в список ALLOWED_HOSTS
This commit is contained in:
@@ -25,7 +25,8 @@ SECRET_KEY = 'django-insecure-*%u*i415=%@ny05mbd-j3802bcl!(0nwa3#^yxnor)7nd(w7%q
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
"https://preview-1.azimkin.dev"
|
||||
"127.0.0.1",
|
||||
"preview-1.azimkin.dev",
|
||||
]
|
||||
|
||||
# Application definition
|
||||
|
||||
15
templates/home/services.html
Normal file
15
templates/home/services.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "_layouts/base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}Услуги{% endblock %}
|
||||
|
||||
{% block add_css %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "_fragments/header.html" %}
|
||||
|
||||
WIP
|
||||
|
||||
{% include "_fragments/footer.html" %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user