Hello, I have been working with Mezzanine and Cartridge recently and have discovered several bugs or usability issues in the Cartridge master branch. I would like to mention these issues here (and pull requests that fix them) and solicit any relevant feedback.
- When starting a new Cartridge project with `mezzanine-project -a cartridge testcartridge`, there are missing migrations. This is caused by Mezzanine commit bf872c358ec6d899a1a444f351b766c1e816fc63 which modifies the `Slugged` model's `slug` field. This also requires a migration for Cartridge, which inherits that field. See <https://github.com/stephenmcd/cartridge/issues/333> and <https://github.com/stephenmcd/cartridge/pull/334> for more details and the fix. - While working on the above issue, I noticed that the Travis builds have been failing due to the `pip install . --allow-unverified pyPdf` setup command. This option is no longer supported and also is no longer required for pyPdf. See <https://github.com/stephenmcd/cartridge/issues/335>. - `django.urlresolvers` was moved to `django.urls` in Django 1.10. This is a trivial fix. See <https://github.com/stephenmcd/cartridge/issues/336> for a few more details. - The Travis testing on Cartridge is configured to test with Django 1.8, 1.9, and 1.10. None of these are currently supported versions by either the Django project or the Mezzanine master branch. See <https://github.com/stephenmcd/cartridge/issues/337>. (For fixes to the previous three issues, see <https://github.com/stephenmcd/cartridge/pull/338>. - The Cartridge project template is missing a `requirements.txt`. Unlike Mezzanine, this means Cartridge does not ready out-of-the-box to be used with a virtualenv. See <https://github.com/stephenmcd/cartridge/issues/339> and <https://github.com/stephenmcd/cartridge/pull/340> for more details and the fix. - Django 2.0 requires the `on_delete` argument for `ForeignKey` fields, while previous versions defaulted to `CASCADE`. This is a trivial change for upcoming Django 2.0 support. See <https://github.com/stephenmcd/cartridge/pull/341> for the fix. Feedback is welcome. Thanks, -- Owen T. Heisler -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature