Skip to content

Commit

Permalink
Add django-stubs and migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
theithec committed Nov 28, 2023
1 parent e66e9d6 commit ee5de15
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pagetools/pages/migrations/0009_alter_page_content.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.3 on 2023-11-27 20:43

from django.db import migrations
import tinymce.models


class Migration(migrations.Migration):
dependencies = [
("pages", "0008_auto_20170301_2044"),
]

operations = [
migrations.AlterField(
model_name="page",
name="content",
field=tinymce.models.HTMLField(verbose_name="Content"),
),
]
18 changes: 18 additions & 0 deletions pagetools/widgets/migrations/0005_alter_contentwidget_content.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.3 on 2023-11-27 20:43

from django.db import migrations
import tinymce.models


class Migration(migrations.Migration):
dependencies = [
("widgets", "0004_delete_pagetypedescription"),
]

operations = [
migrations.AlterField(
model_name="contentwidget",
name="content",
field=tinymce.models.HTMLField(verbose_name="Content"),
),
]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ dependencies = [
"setuptools>=65.7.0",
"crispy-forms-foundation>=0.9.0",
"django-tinymce>=3.6.1",
"django-stubs>=4.2.6",
]
requires-python = ">=3.10"
license = {text = "MIT"}

0 comments on commit ee5de15

Please sign in to comment.