Django complementary index definition and management.
Project description
Describe your database index in json files into your apps
Detailed documentation is in the “docs” directory.
Quick start
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 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.
Drop indexes
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-json-dbindex-1.2.0rc6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 864e305ea0a85fad0be584e7587cc18cf3f56fe98687603529af757382aefe84 |
|
MD5 | 972e3384b1ac3bba60632794cf242b4a |
|
BLAKE2b-256 | 60203506dc6837c71c03375b6b81ba20204cb2519f46170a2f002b8436ed2b07 |