# # # # #
__#_#_#_#_#__
{_` ` ` ` ` `_}
_{_._._._._._._}_
{_ D J A N G O _}
_{_._._._._._._._._}_
{_ B A K E R Y _}
.---{_._._._._._._._._._._}---.
( `"""""""""""""""""""""""` )
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
A set of helpers for baking your Django site out as flat files
- Models, views and management commands to will build your site as flat files.
- Management commands to sync your flat files with a bucket on Amazon S3.
Simply install bakery, create models using the BuildableModel class, and write your views using the BuildableDetailView class. Edit your settings.py, and add those views to your BAKERY_VIEWS setting as a list of strings, eg [‘example.views.AlbumDetailView’,].
Now on the command line, run python manage.py build. Your views should bake into a build folder as flat pages. Optionally, you can publish these files to S3 for cheap hosting.
For an example app written using bakery, check out the example branch: https://github.com/datadesk/django-bakery/tree/example
ASCII art by Joan Stark