apis_core.relations.migrations package
Submodules
apis_core.relations.migrations.0001_initial module
- class apis_core.relations.migrations.0001_initial.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('contenttypes', '0002_remove_content_type_name')]
- initial = True
- operations = [<CreateModel name='Relation', fields=[('id', <django.db.models.fields.AutoField>), ('subj_object_id', <django.db.models.fields.PositiveIntegerField>), ('obj_object_id', <django.db.models.fields.PositiveIntegerField>), ('obj_content_type', <django.db.models.fields.related.ForeignKey>), ('subj_content_type', <django.db.models.fields.related.ForeignKey>)], bases=(<class 'django.db.models.base.Model'>, <class 'apis_core.generic.abc.GenericModel'>)>]