Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

fmartingr/django-stampu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-stampu

django-stampu

Convert your django sites into pure static content.

Usage

  1. Install django-stampu
pip install django-stampu
  1. Add it to your INSTALLED_APPS
# ...
INSTALLED_APPS = (
    # ...
    'stampu',
)
  1. Convert your site!
python manage.py stamp

Your static site will be on the _static folder by default.

Configuration

You can use two variabes on your settings.py to configure stampu's behaviour:

STAMPU_CLEAN_START default to True will remove the previous static folder and files before rendering again (if any).

STAMPU_FOLDER default to _static is the folder your rendered site will be saved into.

About

Convert your django sites into static content

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages