mirror of
https://github.com/bratusev07/skb-market.git
synced 2026-12-05 05:09:44 +00:00
feat: auth, role and moderation logic added
This commit is contained in:
1 parent
1212dca845
commit
36b1341a10
14 files changed
+821
-175
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 5.2.17 on 2026-10-29 06:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('games', '0003_game_author_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Tag',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=50, unique=True, verbose_name='Название')),
|
||||
('slug', models.SlugField(max_length=60, unique=True, verbose_name='URL-имя')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Тег',
|
||||
'verbose_name_plural': 'Теги',
|
||||
'ordering': ('name',),
|
||||
},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='game',
|
||||
name='tags',
|
||||
field=models.ManyToManyField(blank=True, related_name='games', to='games.tag', verbose_name='Теги'),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user