Skip to content

Instantly share code, notes, and snippets.

@palewire
Last active March 31, 2017 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palewire/6cdaac6a711dd80bb7ae865f257d4196 to your computer and use it in GitHub Desktop.
Save palewire/6cdaac6a711dd80bb7ae865f257d4196 to your computer and use it in GitHub Desktop.
Bigbuilder release notes (March 31, 2017)

Bigbuilder release notes

March 31, 2017

Friday

Look Ma, less YAML!

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.

noslugs

Data, data everywhere!

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

Archiving command now less stupid!

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

Still TK

  • boto3 upgrade inside django-bakery
  • Versioned templates

And now for something completely different

i feel great

Pump up the volume and click the GIF!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment