Commit ccb84a99385dbf643baa0687a662844a38973dde

Authored by Sergio Oliveira
1 parent 142f60ef

Settings needs_update default to True

colab/accounts/migrations/0003_auto_20141218_1755.py 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +# -*- coding: utf-8 -*-
  2 +from __future__ import unicode_literals
  3 +
  4 +from django.db import models, migrations
  5 +
  6 +
  7 +class Migration(migrations.Migration):
  8 +
  9 + dependencies = [
  10 + ('accounts', '0002_user_needs_update'),
  11 + ]
  12 +
  13 + operations = [
  14 + migrations.AlterField(
  15 + model_name='user',
  16 + name='needs_update',
  17 + field=models.BooleanField(default=True),
  18 + preserve_default=True,
  19 + ),
  20 + ]
... ...
colab/accounts/models.py
... ... @@ -26,7 +26,7 @@ class User(AbstractUser):
26 26 verification_hash = models.CharField(max_length=32, null=True, blank=True)
27 27 modified = models.DateTimeField(auto_now=True)
28 28 bio = models.CharField(max_length=200, null=True, blank=True)
29   - needs_update = models.BooleanField(default=False)
  29 + needs_update = models.BooleanField(default=True)
30 30  
31 31 def check_password(self, raw_password):
32 32  
... ...