:ice_cube: convert your dynamic django site to a static one with one line of code.
Python 3.12
support.Django 5.0
support.pre-commit
hooks.Python 3.11
support.Django 4.1
support.pre-commit
.Python < 3.8
and Django < 2.2
support.Python < 3.7
and Django < 2.0
support.f-strings
.print
calls with logging
.Check FREEZE_LOCAL_URLS
setting.
Check FREEZE_INCLUDE_MEDIA
/FREEZE_INCLUDE_STATIC
settings.
The new setting FREEZE_RELATIVE_URLS
(if set to True
) allows the generated static site to run offline or in an unknown folder different by the document-root by converting all absolute urls to relative urls.
Improved redirects.html js to work properly also if running locally
Check FREEZE_RELATIVE_URLS
setting.