{ "info": { "author": "ZuluPro (Anthony MONTHE)", "author_email": "anthony.monthe@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "================\nDjango Admin CLI\n================\n\n.. image :: https://travis-ci.org/ZuluPro/django-admin-cli.svg?branch=master\n :target: https://travis-ci.org/ZuluPro/django-admin-cli\n \n.. image:: https://coveralls.io/repos/ZuluPro/django-admin-cli/badge.svg?branch=master\n :target: https://coveralls.io/r/ZuluPro/django-admin-cli?branch=master\n\n.. image:: https://landscape.io/github/ZuluPro/django-admin-cli/master/landscape.svg?style=flat\n :target: https://landscape.io/github/ZuluPro/django-admin-cli/master\n :alt: Code Health\n\nDjango third app for manage you models in command line environment.\n\n.. contents:: **Table of content**\n\nFeatures\n========\n\nThis app is based on Django Admin Site and ModelAdmin defined by developpers.\nIt is supposed to allow user to make same things as in Admin site:\n\n- List model's instance:\n\n * Filtering with Django's Lookup\n * Choosing which field you want including ModelAdmin and Model attributes\n * Default display is the Admin one\n \n- Add an instance:\n\n * Prepopulate with default values\n \n- Update instances:\n\n * Filtering with Django's Lookup\n \n- Delete instances:\n\n * Filtering with Django's Lookup\n\n- Describe model and modeladmin\n- System user restriction (Read/Write)\n- Use admin actions (further)\n\nInstall\n=======\n\nInstall the package on your system: ::\n\n pip install django-admin-cli\n\nAdd ``admin_cli`` to ``INSTALLED_APPS``.\n\nUsage\n=====\n\nList model's instance\n---------------------\n\n::\n\n $ ./manage.py cli user list\n Username Email address First name Last name Staff status\n zulu True\n admin True\n \nList specified fields\n---------------------\n\n::\n\n $ ./manage.py cli user list -f id -f username\n Id Username\n 1 zulu\n 2 admin\n\nFilter specified fields\n-----------------------\n\n::\n\n $ ./manage.py cli user list -F id=1\n Username Email address First name Last name Staff status\n zulu True\n\nAdd an instance\n---------------\n\n::\n\n $ ./manage.py cli site add -f domain=mysite.org -f 'name=My site'\n Created 'mysite.org'\n\nUpdate an instance\n------------------\n\n::\n\n $ ./manage.py cli site update -F domain=mysite.org -f 'name=New name'\n Update 'mysite.org' ? [Yes|No|All|Cancel] y\n Updated 'mysite.org'\n\nDelete an instance\n------------------\n\n::\n\n $ ./manage.py cli site delete -F domain=mysite.org\n Delete 'mysite.org' ? [Yes|No|All|Cancel] y\n Deleted 'mysite.org'\n\nResctrict access to users\n-------------------------\n\nPut a ``dict`` named ``ADMIN_CLI_USERS`` in ``settings.py``. It must have\nthe following format:\n\n::\n\n ADMIN_CLI_USERS = {\n 'login': 'RW',\n }\n\nKeys are UID or username, values are rights 'R' for read, 'W' for\nwrite/update/delete and 'RW' for both.\n\nBy default ``ADMIN_CLI_USERS`` is ``{}`` which allows all users to make\nall operations.\n\nTesting\n=======\n\nAll tests are simply launched by:\n\n::\n\n python setup.py test\n\nOnline resources\n================\n\n* `Code repository`_\n* `Documentation`_\n* `Travis CI server`_\n* `Coveralls report`_\n* `Landscape`_\n\n.. _`Code repository`: https://github.com/ZuluPro/django-admin-cli\n.. _`Documentation`: https://github.com/ZuluPro/django-admin-cli#id3\n.. _`Coveralls report`: https://coveralls.io/r/ZuluPro/django-admin-cli?branch=master\n.. _`Travis CI server`: https://travis-ci.org/ZuluPro/django-admin-cli\n.. _`Landscape`: https://landscape.io/github/ZuluPro/django-admin-cli/", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ZuluPro/django-admin-cli", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-admin-cli", "package_url": "https://pypi.org/project/django-admin-cli/", "platform": "any", "project_url": "https://pypi.org/project/django-admin-cli/", "project_urls": { "Homepage": "https://github.com/ZuluPro/django-admin-cli" }, "release_url": "https://pypi.org/project/django-admin-cli/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Django third app for manage you models in command line environment.", "version": "0.1.1" }, "last_serial": 1628231, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f808532a77c731ff9fd01f638ee1bc3f", "sha256": "8dbd0d74cce0e50253cada22820a177b8f0b782ae56a20601859b4a0d362f5ae" }, "downloads": -1, "filename": "django-admin-cli-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f808532a77c731ff9fd01f638ee1bc3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9617, "upload_time": "2015-07-04T17:07:57", "url": "https://files.pythonhosted.org/packages/d7/5f/d455d50144ceb613f3deb84623cae1df6900f0f0e8556c833ff22e54faa8/django-admin-cli-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "7f677fa0018e5dcccbc8f9412746de7e", "sha256": "731e290bb7789fd3f474d176696eff2b1dc5d4571efce6ae33300ee2f092174e" }, "downloads": -1, "filename": "django_admin_cli-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "7f677fa0018e5dcccbc8f9412746de7e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 32613, "upload_time": "2015-07-10T20:00:55", "url": "https://files.pythonhosted.org/packages/a5/d7/61e516cac20c9e41f6757334c2038ea8e26b4ba087001128ca8e6be60893/django_admin_cli-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d4bdcc5339a95d5eaf4cb1b8aa3ad2fd", "sha256": "9acac0f6b9574e640095f19b506b7fadcb08fc44be66f076646b87e5c4ff1ec1" }, "downloads": -1, "filename": "django-admin-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d4bdcc5339a95d5eaf4cb1b8aa3ad2fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10800, "upload_time": "2015-07-07T16:00:39", "url": "https://files.pythonhosted.org/packages/9b/46/ace2616bc4f2e5322daf99fa0342710ec7681b794a4fd34eda2a8e7cae3e/django-admin-cli-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8b0b2abb3d162c9a83d818177724e6d1", "sha256": "2440956f9b4456128a54289320ee79c00a7c44608f7784c1d23c263148e233a3" }, "downloads": -1, "filename": "django-admin-cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8b0b2abb3d162c9a83d818177724e6d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11181, "upload_time": "2015-07-10T20:04:40", "url": "https://files.pythonhosted.org/packages/f4/4b/77e933a480b3f1592c12e6bf7c6f9a4ce9fda0414fdadd73d867cc236ae1/django-admin-cli-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b0b2abb3d162c9a83d818177724e6d1", "sha256": "2440956f9b4456128a54289320ee79c00a7c44608f7784c1d23c263148e233a3" }, "downloads": -1, "filename": "django-admin-cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8b0b2abb3d162c9a83d818177724e6d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11181, "upload_time": "2015-07-10T20:04:40", "url": "https://files.pythonhosted.org/packages/f4/4b/77e933a480b3f1592c12e6bf7c6f9a4ce9fda0414fdadd73d867cc236ae1/django-admin-cli-0.1.1.tar.gz" } ] }