Skip to content

Ci fix for the dietmar branch

Philipp S. Sommer requested to merge ci-fix-dietmar into dietmar

Hey Housam,

hab hier ein paar fixes eingestellt. Unter anderem ist last_modification_date für topics jetzt optional. Wenn das hier für dich ok ist, musst du einmal python manage.py makemigrations bei dir lokal machen. Er wird dich dann nach 3 Optionen fragen

 1) Provide a one-off default now (will be set on all existing rows with a null value for this column)
 2) Ignore for now, and let me handle existing rows with NULL myself (e.g. because you added a RunPython or RunSQL operation to handle NULL values in a previous data migration)
 3) Quit, and let me add a default in models.py

Nimm einfach die erste und bei der anschließenden Frage

Please enter the default value now, as valid Python
The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now
Type 'exit' to exit this prompt
>>>

gib None ein.

Dann einmal migrieren via

python manage.py migrate

Merge request reports