update conditions to use through for self links
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 4.1.4 on 2023-11-06 09:21
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('rcr', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='item',
|
||||
name='category',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='rcr.category'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='item',
|
||||
name='level',
|
||||
field=models.ManyToManyField(blank=True, to='rcr.level'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user