Skip to content

Commit de985a7

Browse files
committed
Add missing migration
1 parent e1e2596 commit de985a7

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by Django 6.0.2 on 2026-07-22 20:19
2+
3+
import core.validators
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
("news", "0014_entry_page_views"),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name="entry",
16+
name="image",
17+
field=models.ImageField(
18+
blank=True,
19+
null=True,
20+
upload_to="news/%Y/%m/",
21+
validators=[
22+
core.validators.FileTypeValidator(
23+
extensions=[".jpg", ".jpeg", ".png"]
24+
),
25+
core.validators.MaxFileSizeValidator(max_size=5242880),
26+
],
27+
),
28+
),
29+
]

0 commit comments

Comments
 (0)