Metadata-Version: 1.0
Name: django-nosqladmin
Version: 0.1
Summary: An introspective interface for Django and Document Based NoSQL databases
Home-page: http://github.com/pydanny/django-nosqladmin
Author: Daniel Greenfeld
Author-email: pydanny@gmail.com
License: MIT
Description: =================
        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:
        
        .. sourcecode:: python
        
            # 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()]
Keywords: mongodb,django,nosql
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
