README.md edited

This commit is contained in:
2024-12-06 10:45:08 +09:00
parent 09e4edee6b
commit 1aa387aa59
13921 changed files with 2057290 additions and 10 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure-l_8uu8#p*^zf)9zry80)6u+!+2g1a4tg!wx7@^!uw(+^axyh&h
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['0.0.0.0', '192.168.219.140', '127.0.0.1']
ALLOWED_HOSTS = ['0.0.0.0', '192.168.219.140', '127.0.0.1', '192.168.219.114']
# Application definition
@@ -133,19 +133,53 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
JAZZMIN_SETTINGS = {
"site_title": "TOUCHH admin",
"site_header": "My Administration",
"site_brand": "Touchh",
"welcome_sign": "Welcome to system adminitration center",
"site_title": "Hotel Management",
"site_header": "Hotel Manager Admin",
"site_brand": "HotelPro",
"welcome_sign": "Welcome to Hotel Management System",
"show_sidebar": True,
"navigation_expanded": True,
"site_logo": None, # Путь к логотипу, например "static/images/logo.png"
"site_logo_classes": "img-circle", # Классы CSS для логотипа
"site_icon": None, # Иконка сайта (favicon), например "static/images/favicon.ico"
"welcome_sign": "Welcome to Touchh Admin", # Приветствие на странице входа
"copyright": "Touchh © 2024", # Кастомный текст в футере
"search_model": "auth.User", # Модель для строки поиска
"icons": {
"auth": "fas fa-users-cog",
"users": "fas fa-users",
"bot": "fas fa-cogs",
"users": "fas fa-user-circle",
"hotels": "fas fa-hotel",
},
"theme": "flatly",
"dark_mode_theme": "cyborg",
"footer": {
"copyright": False, # Убирает надпись Copyright
"version": False, # Убирает информацию о версии Jazzmin
}
"copyright": "Touchh © 2024",
"version": False,
},
"dashboard_links": [
{"name": "Google", "url": "https://google.com", "new_window": True},
],
"custom_links": { # Кастомные ссылки в боковом меню
"auth": [{
"name": "Сбросить пароль",
"url": "reset_password",
"icon": "fas fa-key",
"permissions": ["auth.change_user"],
}],
},
# Пользовательский интерфейс
"show_sidebar": True, # Отображать боковую панель
"navigation_expanded": True, # Раскрывать меню по умолчанию
"hide_apps": [], # Список приложений, которые нужно скрыть
"hide_models": [], # Список моделей, которые нужно скрыть
"order_with_respect_to": ["auth", "users", "hotels"], # Порядок приложений
"icons": { # Иконки для приложений и моделей
"auth": "fas fa-users-cog",
"users": "fas fa-users",
"bot": "fas fa-robot",
"hotels": "fas fa-hotel",
},
}