mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-17 12:01:13 +00:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
# Generated by Django 3.2 on 2021-05-10 13:05
|
|
|
|
from django.db import migrations
|
|
|
|
import eav.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('eav', '0004_alter_value_value_bool'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='value',
|
|
name='value_csv',
|
|
field=eav.fields.CSVField(blank=True, default="", null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='attribute',
|
|
name='datatype',
|
|
field=eav.fields.EavDatatypeField(
|
|
choices=[
|
|
('text', 'Text'),
|
|
('date', 'Date'),
|
|
('float', 'Float'),
|
|
('int', 'Integer'),
|
|
('bool', 'True / False'),
|
|
('object', 'Django Object'),
|
|
('enum', 'Multiple Choice'),
|
|
('json', 'JSON Object'),
|
|
('csv', 'Comma-Separated-Value'),
|
|
],
|
|
max_length=6,
|
|
verbose_name='Data Type',
|
|
),
|
|
),
|
|
]
|