{"repo":"fabiocaccamo/django-freeze","free":true,"listed":false,"github":"https://github.com/fabiocaccamo/django-freeze","clone":"git clone https://github.com/fabiocaccamo/django-freeze.git","description":":ice_cube: convert your dynamic django site to a static one with one line of code.","language":"Python","stars":130,"topics":["django","python","pypi","freeze","static","site","generator","medusa","zip","download"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"django-freeze django-freeze generates the static version of your django site. Just run python manage.py generate static site :) Features - Generate the static version of your Django site, optionally compressed .zip file - Generate/download the static site using urls (only superuser and staff) - Follow sitemap.xml urls - Follow internal links founded in each page - Follow redirects - Report invalid/broken urls - Selectively include/exclude media and static files - Custom base url (very useful if the static site will run in a specific folder different by the document-root) - Convert urls to relative urls (very useful if the static site will run offline or in an unknown folder different by the document-root) - Prevent local directory index Installation - Run pip install django-freeze - Add freeze to settings.INSTALLED APPS - Enable the sites framework (instructions here) - Restart your application server Configuration (optional) All these settings are optional, if not defined in settings.py the default values (listed below) will be used. Add freeze.urls to urls.py if you want superusers and staff able to use freeze urls. Usage Terminal Run python manage.py generate static site URLs Superusers and staff can use the following urls to download a .zip containing the generated static site or to just generate the static website. /freeze/download-static-site/ /freeze/generate-static-site/ (the time necessary to generate the static site depends on the size of the project) TODO - Write t","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabiocaccamo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabiocaccamo/django-freeze/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}