{ "info": { "author": "David Buxton", "author_email": "david@gasmark6.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "django-mini\n===========\n\nDjango-mini is an MIT-licensed command-line utility for running `Django`_ management commands without a settings module. It is intended to help developers run and test stand-alone Django apps.\n\n.. _Django: https://www.djangoproject.com/\n\n\nInstallation\n------------\n\nInstall using pip from PyPI::\n\n pip install django-mini\n\nAlternatively, `download the source`_, unpack it and install it like a typical Python distribution::\n\n python setup.py install\n\nThe installation consists of a single pure-Python module called ``djangomini`` and an executable script ``django-mini.py``. Django-mini assumes a recent version of Django is already installed.\n\n\nBasic Usage\n-----------\n\nDjango-mini has a few flags for configuring Django settings, and then any other arguments are passed to Django's management utility so it can do its stuff.\n\n- ``--database `` - to specify the default database.\n- ``--app `` - adds your app package to Django's ``INSTALLED_APPS``.\n- ``--admin`` - adds Django's built-in admin and its requirements.\n- ``--debug-toolbar`` - adds Rob Hudson's `django-debug-toolbar`_ and its requirements.\n- ``-p`` or ``--persisting`` - use an sqlite database named ``djangomini.sqlite``.\n\n.. _django-debug-toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar\n\nIf you don't use the persisting option or specify a database, django-mini will use an in-memory sqlite database (implying it will get destroyed after the command finishes).\n\nTo run Django with your app and the built-in admin, use a named database::\n\n django-mini.py --database /tmp/django.sqlite --admin --app myapp syncdb\n django-mini.py --database /tmp/django.sqlite --admin --app myapp runserver\n\nOr use the persisting option::\n\n django-mini.py -p --admin syncdb\n django-mini.py -p --admin runserver\n \nThat will start Django's development server with the admin. The admin application will be available at ``http://localhost:8000/admin/`` and all other requests will be directed to your app, i.e. your app's ``myapp.urls`` is configured to serve all other requests.\n\n`The full documentation`_ has more examples of use, including how to use other databases, how to change any setting, and how to mount an app at a particular URL.\n\n.. _The full documentation: https://github.com/davidwtbuxton/django-mini/blob/master/docs/index.rst\n.. _Download the source: https://github.com/davidwtbuxton/django-mini", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davidwtbuxton/django-mini", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-mini", "package_url": "https://pypi.org/project/django-mini/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mini/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/davidwtbuxton/django-mini" }, "release_url": "https://pypi.org/project/django-mini/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "Run plug-able Django apps without a settings module", "version": "0.5.1" }, "last_serial": 790084, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "7dc7f8c1bcfa27f05553c9cc6120ae27", "sha256": "156abb3d2881fa9ffe9b2c49cdf69280e593dc9742dda1dba78d8ef0b90d7098" }, "downloads": -1, "filename": "django-mini-0.2.tar.gz", "has_sig": false, "md5_digest": "7dc7f8c1bcfa27f05553c9cc6120ae27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14748, "upload_time": "2013-01-27T12:04:09", "url": "https://files.pythonhosted.org/packages/83/7c/ce3c9173f60a2766b4e383db01a52aaf74ca91713ae27427dfb7c54f4439/django-mini-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e0f34864e6106707d1c13986fec6f350", "sha256": "323a14634683d161a43902d4f72ce5f630d0fe67118445d3aeaae816f711722b" }, "downloads": -1, "filename": "django-mini-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e0f34864e6106707d1c13986fec6f350", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14806, "upload_time": "2013-01-27T12:10:39", "url": "https://files.pythonhosted.org/packages/4a/54/3bdd456b7a436fa5ddb128770b10c1517517b21789f870494ac7cf5525b2/django-mini-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0fd6790e2357eb92b9c1db0abdb9dc0a", "sha256": "78811001b55c7999c48830a908dd0078e2d8a2b31ca295dc8859d04dfec60668" }, "downloads": -1, "filename": "django-mini-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0fd6790e2357eb92b9c1db0abdb9dc0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15015, "upload_time": "2013-01-27T18:20:21", "url": "https://files.pythonhosted.org/packages/ed/d6/815fb88fcdc3aa46b03a5f4e0284551318514573f8b65df875327dcca561/django-mini-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "516df00a5bba36d6bb1d7a722fb89b22", "sha256": "de4f14f20175213b0163152905ea2a795be269c1e6a87018e7b17a79a2c0ce8d" }, "downloads": -1, "filename": "django-mini-0.2.3.tar.gz", "has_sig": false, "md5_digest": "516df00a5bba36d6bb1d7a722fb89b22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14605, "upload_time": "2013-01-27T20:20:01", "url": "https://files.pythonhosted.org/packages/0d/5f/eea2be5fbbe1f8b03ab24fbcee4800f44ede5117e0064f267f04e8a9b53f/django-mini-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "a1eb6f3b083d11fe0e22ef307f619c7d", "sha256": "193b0a054b69ffef98bf81939c0f2e0fadfbddb70fdf22b41132c45fc24c6393" }, "downloads": -1, "filename": "django-mini-0.2.4.tar.gz", "has_sig": false, "md5_digest": "a1eb6f3b083d11fe0e22ef307f619c7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13423, "upload_time": "2013-01-29T09:26:16", "url": "https://files.pythonhosted.org/packages/ae/16/acbbd62f9502339442beb039a1427d200fe70cf8a9eae2670f02ba18f96d/django-mini-0.2.4.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "36edf3d40cf5be72bb7139edcb5be77b", "sha256": "d7d83505c1064dff99250301cf921e8915f83b19bbf726f80426366e4643278d" }, "downloads": -1, "filename": "django-mini-0.3.tar.gz", "has_sig": false, "md5_digest": "36edf3d40cf5be72bb7139edcb5be77b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15040, "upload_time": "2013-02-01T01:39:33", "url": "https://files.pythonhosted.org/packages/d8/3c/1e54c7460f688b3925859e663de94baaaf8416150e6843adae874e60076a/django-mini-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "d570c41ec6958f59bb06b8e9a01efd1a", "sha256": "b1b02034d1ee2c08a17e59de7aa60e1ecd67329ed5b00afa74326733875a1780" }, "downloads": -1, "filename": "django-mini-0.4.tar.gz", "has_sig": false, "md5_digest": "d570c41ec6958f59bb06b8e9a01efd1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15535, "upload_time": "2013-02-19T23:02:52", "url": "https://files.pythonhosted.org/packages/13/24/2cc1e2e1b736045fa7dbbabf8fca8dc146a6b72251845e7bda2372f3b344/django-mini-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "e2f72ee9f0b6f1c319aee7ffd6a97799", "sha256": "ca25471a8097e703255e6c0b8e834a94fe44b2e4ad506fd577af7f14c27eb2b5" }, "downloads": -1, "filename": "django-mini-0.4.1.tar.gz", "has_sig": false, "md5_digest": "e2f72ee9f0b6f1c319aee7ffd6a97799", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15554, "upload_time": "2013-03-21T18:04:47", "url": "https://files.pythonhosted.org/packages/15/55/67bc891727228a03b327e19a72996c97277a2889d62a263ffa71dac67f81/django-mini-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "cd625d1987cf9e75d9aa28a56203ba9f", "sha256": "651467fdf0e56faefb5c2d645990bc3178df4f4b958a58dc20b9a67985503df0" }, "downloads": -1, "filename": "django-mini-0.4.2.tar.gz", "has_sig": false, "md5_digest": "cd625d1987cf9e75d9aa28a56203ba9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15557, "upload_time": "2013-03-29T22:05:25", "url": "https://files.pythonhosted.org/packages/02/ec/b3c399cd17b8642b7dc46cdd3d2e45d430436322e0b08561c909b9893f05/django-mini-0.4.2.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "de96a27d55ab6ae533c57132440542db", "sha256": "1cf7cf64a1579f91d108703ef9b3b6f2c4e6ea6c5a6656b50af5f88783580e2b" }, "downloads": -1, "filename": "django-mini-0.5.1.tar.gz", "has_sig": false, "md5_digest": "de96a27d55ab6ae533c57132440542db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16509, "upload_time": "2013-04-27T19:27:23", "url": "https://files.pythonhosted.org/packages/fc/ca/e90cf3e4205a265ac8f7ed591b38b7a7415a0202e84ba0234db54d68cb9e/django-mini-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de96a27d55ab6ae533c57132440542db", "sha256": "1cf7cf64a1579f91d108703ef9b3b6f2c4e6ea6c5a6656b50af5f88783580e2b" }, "downloads": -1, "filename": "django-mini-0.5.1.tar.gz", "has_sig": false, "md5_digest": "de96a27d55ab6ae533c57132440542db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16509, "upload_time": "2013-04-27T19:27:23", "url": "https://files.pythonhosted.org/packages/fc/ca/e90cf3e4205a265ac8f7ed591b38b7a7415a0202e84ba0234db54d68cb9e/django-mini-0.5.1.tar.gz" } ] }