Django complementary index definition and management.
Describe your database index in json files into your apps
Detailed documentation is in the “docs” directory.
Add “json_dbindex” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'json_dbindex', )
Run python manage.py list_jsindex to list all defined indexes.
Create a file in you app directory called dbindex_create.json with following contents
Trying to create an existing index will not generate an error, only a logging at level notice will be raised.
Create a file in you app directory called dbindex_drop.json with following contents.
Only the name is required. In the above example two indexes will be dropped. Trying to drop a non existing index will not generate an error, only a logging at level notice will be raised.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-json-dbindex-1.2.0rc2.tar.gz (9.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for django-json-dbindex-1.2.0rc2.tar.gz