{ "info": { "author": "Leonardo Gatica", "author_email": "lgatica@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "mongogeneric3\n===================\n.. image:: https://img.shields.io/pypi/v/mongogeneric3.svg?style=flat-square\n :target: https://pypi.python.org/pypi/mongogeneric3\n\n.. image:: https://img.shields.io/pypi/dm/mongogeneric3.svg?style=flat-square\n :target: https://pypi.python.org/pypi/mongogeneric3\n\n.. image:: https://img.shields.io/pypi/format/mongogeneric3.svg?style=flat-square\n :target: https://pypi.python.org/pypi/mongogeneric3\n\nClass based generic views for mongoengine documents.\n\nNote\n----\nNot all views Django provides are implemented. If you find mixins or\nviews that are missing, feel free to implement them and provide a pull\nrequest :-)\n\nNote 2\n------\nFork from `django-mongogeneric `__ with support to python 3\n\n\nRequirements\n------------\n- Django >= 1.3\n- `mongoengine `__ >= 0.6\n- `django-mongodbforms `__\n\nInstallation\n------------\n.. code-block:: bash\n\n $ pip install mongogeneric3\n\nImplemented views\n-----------------\n- DetailView\n- ListView\n- CreateView\n- UpdateView\n- DeleteView\n\nMost of the mixins provided by Django to build the above views are also\nthere.\n\nThe Django documentation for `class based generic\nviews `__\nshould work for the views provided here. The only difference is that\neverywhere Django requires **model** as an attribute, mongogeneric\nrequires a **document**.\n\nEmbedded forms\n~~~~~~~~~~~~~~\nAdditionally to the above views, there is a view and a mixin that makes\nworking with embedded document forms easier (e.g. for comments saved\ntogether with a post).\n\nEmbeddedFormMixin\n^^^^^^^^^^^^^^^^^\n**Extends**: ``FormMixin``\n\nA mixin class that processes embedded forms, using\n``EmbeddedDocumentForm``\\ s from `django\nmongodbforms `__.\n\n**embedded\\_form\\_class**\\ An ``EmbeddedDocumentForm`` that is passed\ninto the template context and saved if the request is a POST request and\nthe form is valid.\n\n**embedded\\_context\\_name**\\ Designates the name of the variable to use\nin the context.\n\nEmbeddedDetailView\n^^^^^^^^^^^^^^^^^^\n**Extends**: ``BaseEmbeddedFormMixin``, ``DetailView``\n\nRenders a single document and provides a form for an embedded field.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/lgaticaq/django-mongogeneric", "keywords": "mongo cbv mongoengine", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mongogeneric3", "package_url": "https://pypi.org/project/mongogeneric3/", "platform": "", "project_url": "https://pypi.org/project/mongogeneric3/", "project_urls": { "Homepage": "http://github.com/lgaticaq/django-mongogeneric" }, "release_url": "https://pypi.org/project/mongogeneric3/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "An implementation of django class based generic views using mongoengine.", "version": "0.0.2" }, "last_serial": 2891965, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "04205fdfe3103f5ab940f1c8b919cfa1", "sha256": "116f0cef7a0e809dd1719256ae814cbe44fc9168a582a6b49940f2b4692b4038" }, "downloads": -1, "filename": "mongogeneric3-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04205fdfe3103f5ab940f1c8b919cfa1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10080, "upload_time": "2017-05-22T23:21:42", "url": "https://files.pythonhosted.org/packages/96/7a/9a6db3c347102bb243488ede9c133fa48a639a38aacfbaeeb17467905599/mongogeneric3-0.0.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04205fdfe3103f5ab940f1c8b919cfa1", "sha256": "116f0cef7a0e809dd1719256ae814cbe44fc9168a582a6b49940f2b4692b4038" }, "downloads": -1, "filename": "mongogeneric3-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04205fdfe3103f5ab940f1c8b919cfa1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10080, "upload_time": "2017-05-22T23:21:42", "url": "https://files.pythonhosted.org/packages/96/7a/9a6db3c347102bb243488ede9c133fa48a639a38aacfbaeeb17467905599/mongogeneric3-0.0.2-py2.py3-none-any.whl" } ] }