Skip to content

Commit a4bd87c

Browse files
committed
Upgrade to Django 4.2 - Add pmasa year alter field
Using https://makina-corpus.com/django/comment-migrer-vers-version-recente-django Done by python `manage.py makemigrations`
1 parent b04b95c commit a4bd87c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.2.28 on 2026-02-15 13:19
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('security', '0009_alter_pmasa_id'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='pmasa',
15+
name='year',
16+
field=models.IntegerField(choices=[(2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025), (2026, 2026)], default=2026),
17+
),
18+
]

0 commit comments

Comments
 (0)