All the properties have indexes. Only BlobProperty, TextProperty and
properties with indexed=False are not indexed.

On Jun 23, 3:55 pm, Rafael Sierra <rafaeljs...@gmail.com> wrote:
> Hi there, when using appengine_django project I saw there are no
> index at all on User model, look:
>
>  username = db.StringProperty(required=True)
>  first_name = db.StringProperty()
>  last_name = db.StringProperty()
>  email = db.EmailProperty()
>  password = db.StringProperty()
>  is_staff = db.BooleanProperty(default=False, required=True)
>  is_active = db.BooleanProperty(default=True, required=True)
>  is_superuser = db.BooleanProperty(default=False, required=True)
>  last_login = db.DateTimeProperty(auto_now_add=True, required=True)
>  date_joined = db.DateTimeProperty(auto_now_add=True, required=True)
>
> But when someone login, you must match username and password (I'm not
> using Google Account), is there some kind of magic or it's simple
> wrong? I though that at last username, is_active and password would
> have indexes.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to