27 lines
679 B
Python
27 lines
679 B
Python
from django.db import migrations, models
|
|
import exercices.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
dependencies = [
|
|
('exercices', '0002_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='exercice',
|
|
name='id_code',
|
|
field=models.CharField(
|
|
max_length=50, default=exercices.models.generate_unique_code_step, unique=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='tag',
|
|
name='id_code',
|
|
field=models.CharField(
|
|
max_length=50, default=exercices.models.generate_unique_code_tag, unique=True),
|
|
),
|
|
|
|
]
|