forked from jazzband/django-eav2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d705d9
commit 0000e26
Showing
3 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,6 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
61 changes: 61 additions & 0 deletions
61
eav/migrations/0010_alter_attribute_datatype_alter_attribute_id_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Generated by Django 4.2.6 on 2023-10-13 10:19 | ||
|
||
from django.db import migrations, models | ||
import eav.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('eav', '0009_enchance_naming'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='attribute', | ||
name='datatype', | ||
field=eav.fields.EavDatatypeField( | ||
choices=[ | ||
('text', 'Texte'), | ||
('date', 'Date'), | ||
('float', 'Nombre décimal'), | ||
('int', 'Entier'), | ||
('bool', 'Vrai / Faux'), | ||
('object', 'Django Object'), | ||
('enum', 'Multiple Choice'), | ||
('json', 'JSON Object'), | ||
('csv', 'Comma-Separated-Value'), | ||
], | ||
max_length=6, | ||
verbose_name='Data Type', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='attribute', | ||
name='id', | ||
field=models.BigAutoField( | ||
editable=False, primary_key=True, serialize=False | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='enumgroup', | ||
name='id', | ||
field=models.BigAutoField( | ||
editable=False, primary_key=True, serialize=False | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='enumvalue', | ||
name='id', | ||
field=models.BigAutoField( | ||
editable=False, primary_key=True, serialize=False | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='value', | ||
name='id', | ||
field=models.BigAutoField( | ||
editable=False, primary_key=True, serialize=False | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters