django-nosqladmin
Many NoSQL databases, mostly the Document based ones, translate into Python as a list of dictionaries, right? So why do us developers try to staple document databases into Django’s traditional style relational introspection and tools? It’s like we’re trying to add object impedance mismatch to something that avoids it in the first place.
Taking lessons learned from django-mongonaut, django-nosql-admin is an introspection tool for NoSQL databases. Our original test case is MongoDB, but if this works we’ll invite authorship of interfaces for other NoSQL databases.
Fundamentals
Display the results of lists of dictionaries
mongoadmin.py features:
Define a collection
Only show ObjectId by default
Can add search fields which attempt to search
Can add list fields which try to display
Define which collections are displayed.
Sample mongoadmin.py file:
# mongoadmin.py
class ProfileAdmin(MongoAdmin):
collection = 'Profile'
search_fields = ['username']
list_fields = ['username']
def has_view_permission(self, request):
return True
class ArticleAdmin(MongoAdmin):
collection = 'Article'
search_fields = ['title',]
list_fields = ['title','create_date']
admins = [ProfileAdmin(), ArticleAdmin()]
Metadata
Release files for django-nosqladmin 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-nosqladmin-0.1.1.tar.gz | 3.6 kB | Without provenance | Details for django-nosqladmin-0.1.1.tar.gz |
Release files / django-nosqladmin-0.1.1.tar.gz
| Download URL | django-nosqladmin-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6184f5e1f83827c611034650f115f68aad950b079a328d8ef88fa07b846e9f01
|
|
BLAKE2b-256 checksum How to use checksums |
1b2a905213f0680ed552d492ee3849c61890889be0751e2738010adecbbc08dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-nosqladmin 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.