mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-19 04:51:13 +00:00
19 lines
469 B
Python
19 lines
469 B
Python
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
"""Add entity_ct field to Attribute model."""
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
('contenttypes', '0002_remove_content_type_name'),
|
||
|
|
('eav', '0001_initial'),
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.AddField(
|
||
|
|
model_name='attribute',
|
||
|
|
name='entity_ct',
|
||
|
|
field=models.ManyToManyField(blank=True, to='contenttypes.ContentType'),
|
||
|
|
),
|
||
|
|
]
|