mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-29 00:35:45 +08:00
Made group name unique and improved group creation functionality
This commit is contained in:
parent
032ed36af6
commit
c5f04328e5
7 changed files with 38 additions and 24 deletions
18
stude/study_groups/migrations/0003_alter_studygroup_name.py
Normal file
18
stude/study_groups/migrations/0003_alter_studygroup_name.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.2.5 on 2023-09-28 12:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('study_groups', '0002_remove_studygroup_active'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='studygroup',
|
||||
name='name',
|
||||
field=models.CharField(max_length=48, unique=True),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue