ouhft / quod

Proof of concept website for quod.org.uk
MIT License
0 stars 0 forks source link

Update codebase to Django 2.0 compatibility #7

Open marshalc opened 6 years ago

marshalc commented 6 years ago

Currently breaks when trying to use Django 2.0, needs investigation as to why.

marshalc commented 6 years ago

And almost by perfect timing, the 2.0 release of Wagtail appears that should address most of this... https://github.com/wagtail/wagtail/releases (indeed, it apparently was pushed an hour before I logged this ticket) @9711787 - will be worth looking at your requirements files and seeing if the update allows the removal of the "<2" lock on Django

marshalc commented 6 years ago

There are some config changes introduced with Wagtail 2.0, so I'll debug those and push the updates later.

tomdyson commented 6 years ago

Yes, Wagtail 1.13 didn't support Django 2.0, but Wagtail 2.0 does! Note this is a larger release than usual; you may need to run wagtail updatemodulepaths, for example. See the release notes for more details.

marshalc commented 6 years ago

Cheers Tom, reading through those at the moment

marshalc commented 6 years ago

TypeError: undefined is not an object (evaluating 'window.draftail.initEditor') -- current problem stopping RichTextBlocks from being editable. The editor is not appearing/working in the CMS admin.

Changes now in the wagtail-2-0-upgrade branch.

So far the site is displaying pages as expected, but can't edit the page content fully in the CMS editor

marshalc commented 6 years ago
screen shot 2018-03-01 at 00 22 18

Console errors on CMS page edit (e.g. http://localhost:8000/cms/pages/4/edit/)