March 31, 2017
The slug
attribute metadata.md
file is no longer needed. Each page's slug is now drawn from its folder name. From now on, if you want the change the slug on an existing page, just change its folder name.
The data
attribute in each page's metadata.md
file is no longer restricted to the data
subdirectory. You can now specify any path within your page directory.
One of the benefits is that you can import data files from your static directory. That makes data files available both in your Django templates when its rendered and at a live URL after the static directory is published. That allows for data files to be reused in other places, like homepage widgets.
data:
election_results: static/election_results.csv
You can now pull a page out of the archive for work with the unarchive
command or python manage.py unarchive
Here's how you put it in the archive.
$ archivepage la-test-my-fancy-page
And here's how you bring it back out.
$ unarchivepage la-test-my-fancy-page
- boto3 upgrade inside django-bakery
- Versioned templates
Pump up the volume and click the GIF!