Skip to content

Commit

Permalink
Use of Django's BigAutoField in models pk
Browse files Browse the repository at this point in the history
  • Loading branch information
jlalfonso21 committed Oct 25, 2021
1 parent 329b8d7 commit 56caf1e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions l10n_cuba/migrations/0006_big_auto_field_pks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 3.2.3 on 2021-10-25 15:58

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('l10n_cuba', '0005_populate_table_codigo_postal'),
]

operations = [
migrations.AlterField(
model_name='codigopostal',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='municipio',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='provincia',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-l10n-cu
version = 0.2.3
version = 0.2.4
description = A Django app for adapting a product for a cuban market.
long_description = file: README.md
url = https://mirage-tech-cuba.github.io/
Expand All @@ -12,6 +12,7 @@ classifiers =
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 3.0
Framework :: Django :: 3.2
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: OS Independent
Expand Down

0 comments on commit 56caf1e

Please sign in to comment.