Skip to content

v0.93

Latest
Compare
Choose a tag to compare
@dylanleigh dylanleigh released this 20 Mar 02:04
· 108 commits to master since this release

Upgrading:

Due to DB changes migrations must be run when upgrading from previous versions - this is as simple as running "./manage.py migrate" after pulling from the repo or installing the new version.

If there are errors running the above command after this release, you may have corrupt Prices in your database. See readme under "Schema Changes" for details.

Major changes - Simplified Prices:

Prices have now been fully detached from the Product model, and can now be added and edited via the Ingredient admin interface (below the nutritional data).

The product model still exists, but is now deprecated; it has no current purpose except to associate brand names with ingredients. If you don't care about that (it's not visible outside the admin anyway), products can be all safely deleted via the admin interface (use the checkbox to "select all" and then drop-down action box to "delete selected"). They should not have any performance effects from leaving them there, as no calculations use product objects.

Other changes:

Everything mentioned in the previous release probably counts, as it was only yesterday. They were only done as separate releases for Schema/API/Deprecation purposes.

Known Issues:

  • Login/Logout and all data entry can only be done via the admin interface.