django-admin.py sqldropindexes app_label

16 views
Skip to first unread message

Franck Samson

unread,
Jul 28, 2015, 8:36:34 AM7/28/15
to Django users
Hello, 


I'm a beginner in Django, I use Django 1.8 in a virtualenv with python 3.4 and a postgresql database. I create my app and my models, and I want to drop indexes temporarily for inserting data in the database. 

But when I use this command : 
django-admin.py sqldropindexes app_label

The result show me the sql commands to drop indexes but the indexes names are not the same in the database... 

Is it a problem of my configuration? A bug of django-admin? 

Thanks of Help.
Franck

Tim Graham

unread,
Jul 28, 2015, 8:49:49 AM7/28/15
to Django users, frk.s...@gmail.com
I think it's this bug which will be fixed in Django 1.9: https://code.djangoproject.com/ticket/24390
Reply all
Reply to author
Forward
0 new messages