satyaveerendra / djangosearch

Automatically exported from code.google.com/p/djangosearch
0 stars 0 forks source link

Add an option to allow a specific model to be indexes #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like to be able to reindex just a single model at times, such as when I
make an update to that model's index template.  I've included a patch to
the reindex management command to make this possible.

Original issue reported on code.google.com by sed...@gmail.com on 12 Mar 2008 at 7:07

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry, the last word of the issue name should be 'reindexed', not 'indexes'.

Original comment by sed...@gmail.com on 13 Mar 2008 at 8:09

GoogleCodeExporter commented 8 years ago
I'd love to see something like this, but I'd prefer to the following syntax to 
a --model flag.

  django-admin.py reindex myapp.MyModel myapp.OtherModel

Bonus points if it also accepts all lowercase model names. :)

Original comment by jkocherh...@gmail.com on 14 Mar 2008 at 10:11