List Info

Thread: syncdb ignores db_index=True




syncdb ignores db_index=True
user name
2006-06-30 10:21:14
when i do:

> manage.py syncdb

no indexes are created, i've printed out all the sql
statements and the
SQL for the indexes were infact missing. to check if django
at least
knows about them i did:

> manage.py sqlall <appname>

and the SQL for the indexes were printed.

i've found the ticket http://code
.djangoproject.com/ticket/1828 that
seems to be about this

was wondering if i missed a step somewhere though, when i do
syncdb i
don't do anything else (with manage.py) before that. also
if i am doing
syndb correctly what is the procedure? should i update the
comment on
the ticket.

this is probably not critical because the SQL for indexes
can be run
manually. BUT it is probably very important to actully do
that step
escpecially for production as this can slow down large site.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )