django-freeze
django-freeze copied to clipboard
Add more .ext files
scanner.py:111
replace
if path.endswith('.html'):
to
if path.endswith('.html') or path.endswith('.xml') or path.endswith('.txt'):
Please, just explain me why you need this.
add sitemap.xml and robots.txt to static site
Fixed in 0.11.0
version.
FYI functions like str.endswith
, str.startswith
or isinstance
accept a tuple for their second parameter!
@merwok ohhh didn't know this for str.startswith
and str.endswith
, thank you!
@merwok ba602fb