Добавил favicon

This commit is contained in:
Artur Galyamov 2023-01-29 16:21:35 +05:00
parent 517c427023
commit 0089d32507
4 changed files with 5 additions and 1 deletions
.gitignore
cms
static/cms/icons
templates
crossposting_backend

3
.gitignore vendored

@ -6,4 +6,5 @@ __pycache__/
identifier.sqlite
vk_config.v2.json
crossposting_backend/private/settings.py
logs/
logs/
static/

Binary file not shown.

After

Width: 16px  |  Height: 16px  |  Size: 1.1 KiB

@ -7,6 +7,8 @@
{% bootstrap_css %}
{% bootstrap_javascript %}
{% bootstrap_messages %}
{% load static %}
<link rel="icon" href="{% static 'cms/icons/favicon.ico' %}">
<script type="text/javascript" src="https://vk.com/js/api/share.js?93" charset="windows-1251"></script>
</head>
<body>

@ -147,6 +147,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.1/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field