forked from django-wiki/django-wiki
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Django 4.2]fix: django 42 migrations (#204)
* fix: django 42 migrations
- Loading branch information
1 parent
47d1287
commit ffa91a0
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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', | ||
|
24 changes: 24 additions & 0 deletions
24
wiki/migrations/0007_alter_articleforobject_content_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
), | ||
), | ||
] |