StaticGenerator 1.2
February 12, 2008
StaticGenerator for Django has been updated to version 1.2. This is a minor release, though it is backwards incompatible. Instead of passing a list or tuple, you simply pass standard Python args:
# Old way, deprecated
quick_publish([Post, '/some-url/'])
# New way
quick_publish(Post, '/some-url/')
Note that if you want to unpack a list or tuple into args:
myresources = (Post, '/some-url/')
quick_publish(*myresources)
Additionally I’ve added read access to the Bazaar repository:
bzr branch http://superjared.com/projects/static-generator/code/
As always, feedback is appreciated.
Add your comment
No HTML; Only URLs and line breaks are converted.