0008_ban_registration_only.py 787 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.5 on 2017-03-04 22:06
  3. from __future__ import unicode_literals
  4. from django.db import migrations, models
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ('misago_users', '0007_auto_20170219_1639'),
  8. ]
  9. operations = [
  10. migrations.AddField(
  11. model_name='ban',
  12. name='registration_only',
  13. field=models.BooleanField(db_index=True, default=False),
  14. ),
  15. migrations.AlterField(
  16. model_name='ban',
  17. name='check_type',
  18. field=models.PositiveIntegerField(
  19. choices=[(0, 'Username'), (1, 'E-mail address'), (2, 'IP address')],
  20. db_index=True,
  21. default=0
  22. ),
  23. ),
  24. ]