25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

0002_password.py 1.5 KiB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.9.6 on 2016-09-24 08:11
  3. from __future__ import unicode_literals
  4. from django.conf import settings
  5. from django.db import migrations, models
  6. import django.db.models.deletion
  7. import uuid
  8. class Migration(migrations.Migration):
  9. dependencies = [
  10. ('api', '0001_initial'),
  11. ]
  12. operations = [
  13. migrations.CreateModel(
  14. name='Password',
  15. fields=[
  16. ('created', models.DateTimeField(auto_now_add=True, verbose_name='created')),
  17. ('modified', models.DateTimeField(auto_now=True, verbose_name='modified')),
  18. ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
  19. ('login', models.CharField(blank=True, max_length=255, null=True)),
  20. ('site', models.CharField(blank=True, max_length=255, null=True)),
  21. ('lowercase', models.BooleanField(default=True)),
  22. ('uppercase', models.BooleanField(default=True)),
  23. ('symbols', models.BooleanField(default=True)),
  24. ('numbers', models.BooleanField(default=True)),
  25. ('counter', models.IntegerField(default=1)),
  26. ('length', models.IntegerField(default=12)),
  27. ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='passwords', to=settings.AUTH_USER_MODEL)),
  28. ],
  29. options={
  30. 'abstract': False,
  31. },
  32. ),
  33. ]