I'm extending django's User model.
from django.contrib.auth.models import User
class UserProfile(models.Model):
user = models.OneToOneField(User, _(u"User"))
so, is it possible to use db_index=True and unique=True with user field? and then I need to implement search by username. I thought about Sphinx. Any thoughts on this? maybe some links with good tutorials? TIA