{ "info": { "author": "Se\u00e1n Hayes", "author_email": "sean@seanhayes.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=================\ndjango-config-gen\n=================\n\n.. image:: https://travis-ci.org/greyside/django-config-gen.svg\n :target: https://travis-ci.org/greyside/django-config-gen\n :alt: CI\n\n.. image:: https://coveralls.io/repos/greyside/django-config-gen/badge.svg?service=github\n :target: https://coveralls.io/github/greyside/django-config-gen\n :alt: Code Coverage\n\n.. image:: https://img.shields.io/pypi/v/django-tastypie.svg\n :target: https://pypi.python.org/pypi/django-tastypie\n :alt: Version\n\n.. image:: https://img.shields.io/pypi/dm/django-tastypie.svg\n :target: https://pypi.python.org/pypi/django-tastypie\n :alt: Downloads\n\nGenerates configuration files for Apache, Nginx, etc. using values in\nsettings.py and the Django template system. You can write your own templates\nfor whatever text based config file you need.\n\nInstall\n=======\n\nRequires:\n---------\n\n* Python 2.7+ or Python 3.4+\n* Django 1.7 through Django 1.9\n\n1. `pip install django-config-gen`\n\n2. Add 'django_config_gen' to your `INSTALLED_APPS`.\n\nUsage\n=====\n\nRun './manage.py config_gen' on the command line in your project directory.\n\nTemplates for your config files go in:\n/config/templates/\n\nAll text files in that directory are loaded with the Django template system\nusing values from settings.py as Context. The output of each file is saved with\nthe same filename but in the following directory:\n/config/generated/\n\nThese output directories can be customized using CONFIG_GEN_TEMPLATES_DIR and CONFIG_GEN_GENERATED_DIR in settings.py.\n\nExample templates are provided in 'django-config-gen/django_config_gen/management/commands/example_templates'. If the folder specified by CONFIG_GEN_TEMPLATES_DIR is empty then these will be copied there and used for generating templates.\n\nDefault Variables\n=================\n\nSome default variables are used in the Context used to render the config files,\nand they can be manually overridden in settings.py.\n\nPROJECT_ROOT\nThe absolute path to the directory your manage.py is in.\n\nLOG_DIR\nA directory called 'logs/' within your PROJECT_ROOT.\n\nCONFIG_GEN_TEMPLATES_DIR\nA directory called 'config/templates/' in your PROJECT_ROOT.\n\nCONFIG_GEN_GENERATED_DIR\nA directory called 'config/generated/' in your PROJECT_ROOT.\n\nCONFIG_GEN_CONTEXT_PROCESSORS\nA list of custom context processors that are to be used when rendering config\nfiles. Example:\n\nsettings.py:\n\n.. code:: python\n\n CONFIG_GEN_CONTEXT_PROCESSORS = ['myapp.config_context_processors.foo']\n\nmyapp/config_context_processors.py:\n\n.. code:: python\n\n def foo(*args, **kwargs):\n return {'foo': 'bar'}\n\nNothing is currently passed in to the context processors but that may change in\nthe future, so using *args and **kwargs in the method signature will help\nensure forward compatibility.\n\nHOST\nThe hostname specified in your database for the current Site. If\n`./manage.py syncdb` hasn't been run yet, the value 'localhost' is used.\n\nContributing\n============\n\nYou can fork this project on GitHub: http://github.com/greyside/django-config-gen.\n\nLicense\n=======\n\nThis project is licensed under the BSD License.\nhttp://www.opensource.org/licenses/bsd-license.php\n\nLinks\n=====\n\nhttps://github.com/greyside/django-config-gen\nhttp://pypi.python.org/pypi/django-config-gen\nhttp://djangopackages.com/packages/p/django-config-gen/\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/SeanHayes/django-config-gen", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://seanhayes.name/", "keywords": "django configuration generator", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-config-gen", "package_url": "https://pypi.org/project/django-config-gen/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-config-gen/", "project_urls": { "Download": "https://github.com/SeanHayes/django-config-gen", "Homepage": "http://seanhayes.name/" }, "release_url": "https://pypi.org/project/django-config-gen/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Generates configuration files for Apache, Nginx, etc. using values in settings.py and the Django template system. You can write your own templates for whatever text based config file you need.", "version": "1.1.0" }, "last_serial": 4012388, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "79e9454503e378a3a04f87e5bb682c75", "sha256": "171f57a5b8d94add194eb0df786043786cd59ae7f9e62276c223d954207cc129" }, "downloads": -1, "filename": "django-config-gen-1.0.0.tar.gz", "has_sig": false, "md5_digest": "79e9454503e378a3a04f87e5bb682c75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1433, "upload_time": "2010-12-13T04:35:06", "url": "https://files.pythonhosted.org/packages/d2/c8/e91d7eb38f2a11b67a9ff4384d0c05653708611ad54b6f52d7b663bb4552/django-config-gen-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "49da8e66edc44a024a71617940069109", "sha256": "5887f5a6f30209a156f369736dd4466bc54b0521be600fc11de933e29b174c70" }, "downloads": -1, "filename": "django-config-gen-1.0.1.tar.gz", "has_sig": false, "md5_digest": "49da8e66edc44a024a71617940069109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4881, "upload_time": "2010-12-28T23:49:32", "url": "https://files.pythonhosted.org/packages/3b/db/61913b7f5fb4baa870e7c5746eb626af02e28d126d93fc72b32d46666394/django-config-gen-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2be4321b385d88e96f96a79b8e0b522f", "sha256": "6b3b5ad4ec0ae3221a682b7582ed8693e13ab59414e073c6f42bd741b7519d1c" }, "downloads": -1, "filename": "django-config-gen-1.0.2.tar.gz", "has_sig": false, "md5_digest": "2be4321b385d88e96f96a79b8e0b522f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4948, "upload_time": "2010-12-29T04:22:42", "url": "https://files.pythonhosted.org/packages/ab/c5/925aebd52a76f254c81809bf47ebb484da4c76ec4b593e41fff0add21ae3/django-config-gen-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "377e4d05d617719cb3467fbe4a6453c9", "sha256": "611578a2742ce624520dd9cb6e077a82b4d38741389c429fcaab5e5071d7f258" }, "downloads": -1, "filename": "django-config-gen-1.0.3.tar.gz", "has_sig": false, "md5_digest": "377e4d05d617719cb3467fbe4a6453c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5028, "upload_time": "2010-12-29T05:58:09", "url": "https://files.pythonhosted.org/packages/e6/13/a4deb7e78b3502e92dcb97e5df582c0760d46adaff00ec445f5e05072ba4/django-config-gen-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "d0079e2849d1fd81d6e36e9c9e8d275e", "sha256": "fee6236e276c7803bac20a6349107715270e2740893bb51d95d0ac9e1c3843e3" }, "downloads": -1, "filename": "django-config-gen-1.0.4.tar.gz", "has_sig": false, "md5_digest": "d0079e2849d1fd81d6e36e9c9e8d275e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5083, "upload_time": "2011-01-02T23:17:47", "url": "https://files.pythonhosted.org/packages/23/25/6ccda698da038ca0c0244f70bec4230ff04272ef21ecb65bd8ec9f3c0616/django-config-gen-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "b33111c186d16a102041d8818330be3c", "sha256": "e1cb0eeb27dc878548004728462e106c522d562559b79b4d524119394d7492ee" }, "downloads": -1, "filename": "django-config-gen-1.0.5.tar.gz", "has_sig": false, "md5_digest": "b33111c186d16a102041d8818330be3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5868, "upload_time": "2011-03-25T04:26:32", "url": "https://files.pythonhosted.org/packages/13/33/feb8987271ddddab9898fcd8d20dac374c9cda9bdce50430d86dab2cc64e/django-config-gen-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "4bfca4ae3e916cb9ccaa76fc39d672e2", "sha256": "e7351a5cfdd6fe319bf4fb74e1ac5b1f34a12b5dc36e0b8a1b0d8b17a71d2e03" }, "downloads": -1, "filename": "django-config-gen-1.0.6.tar.gz", "has_sig": false, "md5_digest": "4bfca4ae3e916cb9ccaa76fc39d672e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9852, "upload_time": "2011-05-25T00:08:44", "url": "https://files.pythonhosted.org/packages/f0/e0/d1a2cdcec635d0909b9aa4cfe14d3bbeff898f9e9e17550a17ab33e6ced8/django-config-gen-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "20b98443de230c8a776e574d50571a32", "sha256": "265083d5f6d50419b1431a6145e8316cf832ba7d7cb9f1e3b686daae67244ae7" }, "downloads": -1, "filename": "django-config-gen-1.0.7.tar.gz", "has_sig": false, "md5_digest": "20b98443de230c8a776e574d50571a32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9986, "upload_time": "2011-11-10T05:37:58", "url": "https://files.pythonhosted.org/packages/34/76/2fe08abffca64ccbd2099b0926c476f9ec807e3f4498d71f3bbe79f2c795/django-config-gen-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "5e5630c2b4cb9288627969a1aeba7fe6", "sha256": "de5bf5e58b29911a415562cf9b2e837b1fbd1f78917f115fc5a9f77eff0d0b1c" }, "downloads": -1, "filename": "django-config-gen-1.0.8.tar.gz", "has_sig": false, "md5_digest": "5e5630c2b4cb9288627969a1aeba7fe6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9984, "upload_time": "2011-11-10T05:40:11", "url": "https://files.pythonhosted.org/packages/15/d3/8724ebd1366c37180707bb3831d267d46ce22d01193e3efbb963d0fc727d/django-config-gen-1.0.8.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "ae547045de3de491e85d9128d1277e47", "sha256": "33889f0b63d336b5fdd94de7c07947964b189fc546dd626d41e5f68d6c766e14" }, "downloads": -1, "filename": "django_config_gen-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ae547045de3de491e85d9128d1277e47", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11626, "upload_time": "2016-01-21T22:21:07", "url": "https://files.pythonhosted.org/packages/f6/d3/974650e8252f8e2a1a635d1a18e72ac192cf911b7e36265f5e08a9462ad5/django_config_gen-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "122ab6305b8e2b557f270c790f1a8dec", "sha256": "8bce2cb96b2dc86addc6b1b721a2775ba08704030527d758356043579e10af25" }, "downloads": -1, "filename": "django-config-gen-1.1.0.tar.gz", "has_sig": false, "md5_digest": "122ab6305b8e2b557f270c790f1a8dec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10251, "upload_time": "2016-01-21T22:20:57", "url": "https://files.pythonhosted.org/packages/6b/44/3a650892a99e80e62a83a4bee8adf132eef14f018dc3a8cd9e5f327540f8/django-config-gen-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae547045de3de491e85d9128d1277e47", "sha256": "33889f0b63d336b5fdd94de7c07947964b189fc546dd626d41e5f68d6c766e14" }, "downloads": -1, "filename": "django_config_gen-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ae547045de3de491e85d9128d1277e47", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11626, "upload_time": "2016-01-21T22:21:07", "url": "https://files.pythonhosted.org/packages/f6/d3/974650e8252f8e2a1a635d1a18e72ac192cf911b7e36265f5e08a9462ad5/django_config_gen-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "122ab6305b8e2b557f270c790f1a8dec", "sha256": "8bce2cb96b2dc86addc6b1b721a2775ba08704030527d758356043579e10af25" }, "downloads": -1, "filename": "django-config-gen-1.1.0.tar.gz", "has_sig": false, "md5_digest": "122ab6305b8e2b557f270c790f1a8dec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10251, "upload_time": "2016-01-21T22:20:57", "url": "https://files.pythonhosted.org/packages/6b/44/3a650892a99e80e62a83a4bee8adf132eef14f018dc3a8cd9e5f327540f8/django-config-gen-1.1.0.tar.gz" } ] }