0001_initial.py
1.49 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('dictionary', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='UserSettings',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('incremental_search', models.BooleanField(default=True, help_text=b'Wyszukiwanie odbywa si\xc4\x99 automatycznie w miar\xc4\x99 wpisywania szukanego has\xc5\x82a. Sugerujemy wy\xc5\x82\xc4\x85czenie w wypadku wolnego po\xc5\x82\xc4\x85czenia internetowego.', verbose_name=b'wyszukiwanie przyrostowe')),
('default_owner', models.ForeignKey(verbose_name=b'domy\xc5\x9blny s\xc5\x82ownik w\xc5\x82a\xc5\x9bciciel dodawanych leksem\xc3\xb3w', blank=True, to='dictionary.Vocabulary', null=True)),
('default_pos', models.ForeignKey(verbose_name=b'domy\xc5\x9blna cz\xc4\x99\xc5\x9b\xc4\x87 mowy dodawanych leksem\xc3\xb3w', blank=True, to='dictionary.PartOfSpeech', null=True)),
('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)),
],
options={
'permissions': (('create_admin', 'Mo\u017ce nadawa\u0107 dowolne role'),),
},
bases=(models.Model,),
),
]