Skip to main content

A Django app can be used to query and render MongoDB data

Project description

dj-mongo-reader is a Django application can be used to query MongoDB via AJAX requests and render result with several customization options.

Installation

  • Install from PyPi pip install dj-mongo-reader

  • Install from source code

  • download code git clone https://github.com/feifangit/dj-mongo-reader.git

  • run <setup.py> from dj-mongo-reader folder python setup.py install

Features

  1. Able to send find, count, collstats commands to MongoDB via designated URL

  2. Basic HTML pages included, only few code is needed to work with your existing CSS framework

  3. Pagination implemented, you can customize record number show in each page

  4. Permission check, you can deny a data fetching request based on user’s permission and the query(database, collection, command, criteria).

  5. Pick up some keys of the record to fill the table, leave complete record in detail dialog

  6. Assign display names for keys in MongoDB record

  7. value transformation, you can provide Javascript callback functions to process raw value data from MongoDB to a proper text for displaying

DEMO

A Django application runs on heroku.

  • Functionality: A query form and result table included.

  • UI: Bootstrap 3 applied.

Source code Please see example folder

Guide

http://dj-mongo-reader.herokuapp.com

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dj-mongo-reader-0.94.tar.gz (36.6 kB view details)

Uploaded Source

File details

Details for the file dj-mongo-reader-0.94.tar.gz.

File metadata

File hashes

Hashes for dj-mongo-reader-0.94.tar.gz
Algorithm Hash digest
SHA256 77345c40c846449d4770f9ca879cc4b146a953afed3daf9fd4ac1cffb8dc4589
MD5 a4fb20af24f7e710e2a7853dd2f7ef49
BLAKE2b-256 a8a8ce88d3506a9a55a9a89518e04cc10e1f344579fc4b97e45d8ba9942f3e9e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page