Merge pull request #192 from jedie/dev

Fix local dev server: Don't enforce https
main
Jens Diemer 2025-05-01 00:30:58 +02:00 zatwierdzone przez GitHub
commit f29d28900b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 11 dodań i 3 usunięć

Wyświetl plik

@ -166,6 +166,8 @@ To make a new release, do this:
[comment]: <> (✂✂✂ auto generated history start ✂✂✂)
* [**dev**](https://github.com/jedie/PyInventory/compare/v0.21.1...main)
* 2025-05-01 - Fix local dev server: Don't enforce https
* [v0.21.1](https://github.com/jedie/PyInventory/compare/v0.21.0...v0.21.1)
* 2025-05-01 - Replace setuptools with hatchling
* 2025-04-30 - Update requirements and some small code parts
@ -174,14 +176,14 @@ To make a new release, do this:
* 2025-03-23 - Migrate "pip-tools" -> "uv" and remove tox
* [v0.20.1](https://github.com/jedie/PyInventory/compare/v0.20.0...v0.20.1)
* 2024-09-05 - switched to https://github.com/jazzband/django-tinymce/
<details><summary>Expand older history entries ...</summary>
* [v0.20.0](https://github.com/jedie/PyInventory/compare/v0.19.3...v0.20.0)
* 2024-09-05 - Replace django-ckeditor with django-prose-editor and fix tests
* 2024-09-05 - Project updates
* 2024-01-16 - Use typeguard in tests
* 2024-01-16 - Update requirements
<details><summary>Expand older history entries ...</summary>
* [v0.19.3](https://github.com/jedie/PyInventory/compare/v0.19.2...v0.19.3)
* 2023-11-01 - Auto generate README history
* 2023-11-01 - Update requirements

Wyświetl plik

@ -13,6 +13,12 @@ from inventory_project.settings.prod import * # noqa
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# Disable secure settings from prod.py:
CSRF_COOKIE_SECURE = False
SESSION_COOKIE_SECURE = False
SECURE_PROXY_SSL_HEADER = None
SECURE_SSL_REDIRECT = False
SECURE_HSTS_PRELOAD = False
# Serve static/media files for local development:
SERVE_FILES = True