django-cms / djangocms-moderation

Other
13 stars 20 forks source link

feat: Django 4.2 support #256

Closed Aiky30 closed 3 months ago

Aiky30 commented 3 months ago

What does this PR do?

Remaining issues to fix:

wfehr commented 3 months ago

I tried installing djangocms-moderation with this fork but the migrations fail for an initial setup of the database. I don't know if it's a problem with this fork (i.e. with this changes mysql 8 is possible) or a general error also occuring with mysql 5 (= django 4.1):

ValueError: The database backend does not accept 0 as a value for AutoField.

This occurs from migration djangocms_moderation.0003_auto_20180903_1206 which provided a one-off-default for a ForeignKey with the value 0.

wfehr commented 3 months ago

I tried installing djangocms-moderation with this fork but the migrations fail for an initial setup of the database. I don't know if it's a problem with this fork (i.e. with this changes mysql 8 is possible) or a general error also occuring with mysql 5 (= django 4.1):

ValueError: The database backend does not accept 0 as a value for AutoField.

This occurs from migration djangocms_moderation.0003_auto_20180903_1206 which provided a one-off-default for a ForeignKey with the value 0.

Just tried it with installing django = 4.1 - same error. I'll create a new issue für this.

Aiky30 commented 3 months ago

This change has been superseded by: https://github.com/django-cms/djangocms-moderation/pull/262