0008_ban_registration_only.py 763 B

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