Skip to content
Snippets Groups Projects
Verified Commit 4d233879 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add missing changes in livedocument migration

parent cdf1eb56
No related branches found
No related tags found
1 merge request!16Resolve "Provide infrastructure for live documents"
...@@ -18,8 +18,8 @@ class Migration(migrations.Migration): ...@@ -18,8 +18,8 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('slug', models.SlugField(help_text='This will be used for the name of the current PDF file.', verbose_name='Slug')), ('slug', models.SlugField(help_text='This will be used for the name of the current PDF file.', verbose_name='Slug')),
('name', models.CharField(max_length=255, verbose_name='Name')), ('name', models.CharField(max_length=255, verbose_name='Name')),
('last_update', models.DateTimeField(blank=True, null=True, verbose_name='Date and time of the last update')), ('last_update', models.DateTimeField(blank=True, null=True, verbose_name='Date and time of the last update', editable=False)),
('current_file', models.FileField(blank=True, null=True, upload_to='chronos/plan_pdfs/', verbose_name='Current file')), ('current_file', models.FileField(blank=True, null=True, upload_to='chronos/plan_pdfs/', verbose_name='Current file', editable=False)),
('polymorphic_ctype', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_resint.livedocument_set+', to='contenttypes.contenttype')), ('polymorphic_ctype', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_resint.livedocument_set+', to='contenttypes.contenttype')),
], ],
options={ options={
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment