Skip to content

Commit

Permalink
[Django 4.2]fix: django 42 migrations (#204)
Browse files Browse the repository at this point in the history
* fix: django 42 migrations
  • Loading branch information
irtazaakram authored Sep 22, 2023
1 parent 47d1287 commit ffa91a0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def is_requirement(line):

setup(
name="openedx-django-wiki",
version="2.0.2",
version="2.0.3",
author="Benjamin Bach",
author_email="[email protected]",
long_description_content_type='text/markdown',
Expand Down
24 changes: 24 additions & 0 deletions wiki/migrations/0007_alter_articleforobject_content_type.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.2.5 on 2023-09-21 05:47

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
dependencies = [
("contenttypes", "0002_remove_content_type_name"),
("wiki", "0006_auto_20200110_1003"),
]

operations = [
migrations.AlterField(
model_name="articleforobject",
name="content_type",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="content_type_set_for_%(class)s",
to="contenttypes.contenttype",
verbose_name="content type",
),
),
]

0 comments on commit ffa91a0

Please sign in to comment.