Skip to content

Commit

Permalink
Merge pull request #115 from hermanTenuki/114-update-django-version-t…
Browse files Browse the repository at this point in the history
…o-32-lts

Bumped django version to 3.2.16 with id fields migration
  • Loading branch information
hermanTenuki authored Oct 9, 2022
2 parents a8106be + a54e61b commit f1914f5
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
44 changes: 44 additions & 0 deletions app/migrations/0010_auto_20221009_1147.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Generated by Django 3.2.16 on 2022-10-09 11:47
import django_migration_linter
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('app', '0009_auto_20210711_0853'),
]

operations = [
migrations.AlterField(
model_name='feedback',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='generatedascii',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='imagetoasciioptions',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='imagetoasciitype',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='report',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='texttoasciitype',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
django_migration_linter.IgnoreMigration(),
]
2 changes: 2 additions & 0 deletions project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,5 @@ def clear_temporary_images_folder():
traces_sample_rate=1.0,
send_default_pii=False
)

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
appdirs==1.4.4
asgiref==3.2.10
asgiref==3.5.2
certifi==2020.6.20
chardet==3.0.4
Django==3.1.14
Django==3.2.16
django-cleanup==5.1.0
django-migration-linter==3.0.0
django-recaptcha==2.0.6
Expand Down

0 comments on commit f1914f5

Please sign in to comment.