{ "info": { "author": null, "author_email": null, "bugtrack_url": null, "classifiers": [], "description": "\ndj\n==\n\n**dj** is a command line tool that makes [Django][1] development *even* simpler. It provides shortcuts for most common [manage.py][2] commands.\n\nIt uses [virtualenv][3] and [South][4] by default.\n\nCreating New Project\n--------------------\n\n $ dj new myproject/\n New python executable in myproject/bin/python\n Installing Setuptools...\n ...\n \n $ cd myproject/\n \n $ ls -l\n total 0\n drwxr-xr-x 14 user wheel 476 Nov 15 15:48 bin\n drwxr-xr-x 3 user wheel 102 Nov 15 15:47 include\n drwxr-xr-x 3 user wheel 102 Nov 15 15:47 lib\n drwxr-xr-x 6 user wheel 204 Nov 15 15:50 myproject\n\nAdding New Applications\n-----------------------\n\n $ dj app example\n Creating migrations directory at '/../myproject/example/migrations'...\n Creating __init__.py in '/../myproject/example/migrations'...\n Created 0001_initial.py. You can now apply this migration with: ./manage.py migrate example\n Running migrations for example:\n - Migrating forwards to 0001_initial.\n > example:0001_initial\n - Loading initial data for example.\n Installed 0 object(s) from 0 fixture(s)\n\nThis will also update *settings.py* file.\n\nSchema Migration After Model Update\n-----------------------------------\n\n $ vim myproject/example/models.py\n \n $ dj sync example\n + Added model example.Person\n Created 0002_auto__add_person.py. You can now apply this migration with: ./manage.py migrate example\n Running migrations for example:\n - Migrating forwards to 0002_auto__add_person.\n > example:0002_auto__add_person\n - Loading initial data for example.\n Installed 0 object(s) from 0 fixture(s)\n \nShell & Test Server\n-------------------\n\n $ dj shell\n \n $ dj run\n Validating models...\n \n 0 errors found\n November 15, 2013 - 14:10:00\n Django version 1.6, using settings 'myproject.settings'\n Starting development server at http://127.0.0.1:8000/\n Quit the server with CONTROL-C.\n\nInstalling Packages Inside Virtual Environment\n----------------------------------------------\n\n $ dj install Celery\n Downloading/unpacking Celery\n ...\n \n \nIssues / To Do\n--------------\n\n* Using bash scripts inside Python, will fix that.\n* Argument parser needs to be replaced.\n* Deleting applications should be handled manually.\n\nReporting Bugs, Submiting Pull/Feature Requests\n-----------------------------------------------\n\nFeel free to report any bugs, submit pull requests and ask for feature requests.\n\n [1]: https://www.djangoproject.com/\n [2]: https://docs.djangoproject.com/en/dev/ref/django-admin/\n [3]: http://virtualenv.org\n [4]: http://south.aeracode.org", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": null, "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "dj-cli", "package_url": "https://pypi.org/project/dj-cli/", "platform": null, "project_url": "https://pypi.org/project/dj-cli/", "project_urls": null, "release_url": "https://pypi.org/project/dj-cli/0.1/", "requires_dist": null, "requires_python": null, "summary": null, "version": "0.1" }, "last_serial": 920489, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "66cc1074436db067d2fb0d17bcdbf516", "sha256": "d68fec0277d5283b9eb7a0b9234b394674c97477e6435ba3f6789e4a86114411" }, "downloads": -1, "filename": "dj-cli-0.2.tar.gz", "has_sig": false, "md5_digest": "66cc1074436db067d2fb0d17bcdbf516", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2971, "upload_time": "2013-11-15T16:52:03", "url": "https://files.pythonhosted.org/packages/91/11/378e50bded05dff0db3c56981c55125163fcd473a0affad0d08d7a3dd0a6/dj-cli-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66cc1074436db067d2fb0d17bcdbf516", "sha256": "d68fec0277d5283b9eb7a0b9234b394674c97477e6435ba3f6789e4a86114411" }, "downloads": -1, "filename": "dj-cli-0.2.tar.gz", "has_sig": false, "md5_digest": "66cc1074436db067d2fb0d17bcdbf516", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2971, "upload_time": "2013-11-15T16:52:03", "url": "https://files.pythonhosted.org/packages/91/11/378e50bded05dff0db3c56981c55125163fcd473a0affad0d08d7a3dd0a6/dj-cli-0.2.tar.gz" } ] }