0069_usersettings.py
22 lines
| 749 B
| text/x-python
|
PythonLexer
neko259
|
r2041 | # Generated by Django 2.0 on 2017-12-17 09:30 | ||
from django.db import migrations, models | ||||
class Migration(migrations.Migration): | ||||
dependencies = [ | ||||
('boards', '0068_auto_20171214_0833'), | ||||
] | ||||
operations = [ | ||||
migrations.CreateModel( | ||||
name='UserSettings', | ||||
fields=[ | ||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||||
('session_key', models.CharField(max_length=100, unique=True)), | ||||
('fav_tags', models.ManyToManyField(related_name='settings_as_fav', to='boards.Tag')), | ||||
('hidden_tags', models.ManyToManyField(related_name='settings_as_hidden', to='boards.Tag')), | ||||
], | ||||
), | ||||
] | ||||