from django.contrib.auth.models import User

# Add an index for the User.password field since we'll be using it to store
# GAE user_ids.
for field in User._meta.local_fields:
    if field.column == 'password':
        field.db_index = True
        break

5e2c0455d45aa06379084414c17fc7c0bad13ffd
<mask token>

<mask token>
for field in User._meta.local_fields:
    if field.column == 'password':
        field.db_index = True
        break

from django.contrib.auth.models import User
for field in User._meta.local_fields:
    if field.column == 'password':
        field.db_index = True
        break

from django.contrib.auth.models import User

# Add an index for the User.password field since we'll be using it to store
# GAE user_ids.
for field in User._meta.local_fields:
    if field.column == 'password':
        field.db_index = True
        break
