{ "info": { "author": "Allan Brown", "author_email": "allan@thisislevelup.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "\ufeff=====\nRestart\n=====\n\nRestart is a simple Django app to allow administrators to restart the \napplication by touching the wsgi file.\r\n\r\nQuick start\r\n-----------\r\n\r\n1. Add \"restart\" to your INSTALLED_APPS settings. For example::\r\n\r\n INSTALLED_APPS = (\n ...\n 'restart',\n 'admin_shortcuts', # An optional package, not required\n 'djangocms_admin_style', # An optional package, not required\n 'django.contrib.admin',\n )\n\n\n2. Add 'restart.Loader' to your TEMPLATE_LOADERS in your settings file::\n\n TEMPLATE_LOADERS = (\n 'django.template.loaders.filesystem.Loader',\n 'django.template.loaders.app_directories.Loader',\n 'restart.Loader',\n # 'django.template.loaders.eggs.Loader',\n )\n\n3. Setup the name of your wsgi file in your settings, for example::\n \n WSGI_NAME = \"django.wsgi\"\n\n\n4. This app also uses the SITE_ROOT variable. If this is not defined it will attempt to guess the site-root, however it is recommended that this is defined. It should be the folder which contains your wsgi file.\n\n\n5. Run `python manage.py syncdb` to create the restart model.\n\n\n6. Run `python manage.py collectstatic` to collect the required static files.\n\n\n7. When accessing the admin, you should now see a small arrow on the bottom right of your window at all times. Clicking on this will show the server uptime based on the wsgi file, and allow restarting via touch.\n\n\nDjango Suit\n---------------------\nIf using Django-suit, create a new (or edit your existing) admin/base.html file in your templates with the following code::\n\n {% extends \"suit:admin/base.html\" %}\n\n {% block extrahead %}{% include 'admin/inc/extrahead.html' %}{% endblock %}\n \nDjango Admin tools\n---------------------\nIf using Django admin tools, create a new (or edit your existing) admin/base.html file in your templates with the following code::\n\n {% extends \"admin_tools.theming:admin/base.html\" %}\n\n {% block extrahead %}{% include 'admin/inc/extrahead.html' %}{% endblock %}\n\n\nCustom base template\n---------------------\nIf you have a custom admin/base.html file or you want to install manually, you can skip step 2 above, and replace the line::\n \n {% block extrahead %}{% endblock %}\n\nwith::\n\n {% block extrahead %}{% include 'admin/inc/extrahead.html' %}{% endblock %}\n\n\nTested with\n---------------------\n- Django 1.6\n- Django CMS 3.0rc1\n- Django base admin styles\n- Django CMS Admin styles (optional)\n- Django CMS Admin styles (optional)\n- Django Admin shortcuts (optional)\n- Reversion (tested with 1.8.0, optional)\n\nRequires\n---------------------\nThis app should work with verisons of Django below 1.6, it has been tested down to 1.3. No other packages should be required.\n\n\nTodo\n---------------------\n- Ensure works with grapelli, django-suit and other admin alternative templates.\n- Tests\n\nOther\n---------------------\nThe template loader code is based on: http://djangosnippets.org/snippets/1376/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/lvlup/django-restart/overview", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-restart", "package_url": "https://pypi.org/project/django-restart/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-restart/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/lvlup/django-restart/overview" }, "release_url": "https://pypi.org/project/django-restart/0.2.8.7/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to let admins restart the application", "version": "0.2.8.7" }, "last_serial": 1478537, "releases": { "0.2.5": [ { "comment_text": "", "digests": { "md5": "ca837f62110702c1073251c88bccf424", "sha256": "36b836b4360dda98d4d790b7af43e20a00de22f258957156c743bb4c06cf5d58" }, "downloads": -1, "filename": "django-restart-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ca837f62110702c1073251c88bccf424", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8840, "upload_time": "2014-04-03T08:32:42", "url": "https://files.pythonhosted.org/packages/b0/64/c060ee1d9fd6d7e16a89d6de33ad12975b527abaac346f2ab535ce9e5b45/django-restart-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "2c9a7cbc80b2eb3a439e0e1db02fc5d9", "sha256": "31bf1ad7c3d6297ca3437d892cb7526453cf7be0949779bde49aa4c2c6bb5a75" }, "downloads": -1, "filename": "django-restart-0.2.6.tar.gz", "has_sig": false, "md5_digest": "2c9a7cbc80b2eb3a439e0e1db02fc5d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8882, "upload_time": "2014-04-03T08:59:32", "url": "https://files.pythonhosted.org/packages/14/2d/b66b86c4f8f7fee9e8257f8b33e3d96d8319343117ce5db67d74f6ee3ba9/django-restart-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "40d52730c5adcc25ee18ae1b514a1773", "sha256": "9e9cae9b16ab24e068e63c236c7eeb165933ca4d0ee0669e085940384c10ce4d" }, "downloads": -1, "filename": "django-restart-0.2.7.tar.gz", "has_sig": false, "md5_digest": "40d52730c5adcc25ee18ae1b514a1773", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8907, "upload_time": "2014-04-03T09:05:10", "url": "https://files.pythonhosted.org/packages/c5/39/cf07923f2a9413ea359e32a5b61863d38fa0b0d189fdde4ccedb6216927a/django-restart-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "00e8f4536bee76a393872ecfbd3c3ca2", "sha256": "8b234fc0485d8991dc94c0b5c0362c61b2488bf0fad050eb49bceb62a321e71e" }, "downloads": -1, "filename": "django-restart-0.2.8.tar.gz", "has_sig": false, "md5_digest": "00e8f4536bee76a393872ecfbd3c3ca2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8909, "upload_time": "2014-04-03T11:17:46", "url": "https://files.pythonhosted.org/packages/49/0d/8c374fb31018dad8d90ee3cbba49d3473a3ecd7acdcb98323dba4c035898/django-restart-0.2.8.tar.gz" } ], "0.2.8.1": [ { "comment_text": "", "digests": { "md5": "2c8dafc1c78c372e205a63bd1406799d", "sha256": "f7f1532a8f02c88c28c8f4616488b24ba267190650bb6c7bfb1b2cc309e9e336" }, "downloads": -1, "filename": "django-restart-0.2.8.1.tar.gz", "has_sig": false, "md5_digest": "2c8dafc1c78c372e205a63bd1406799d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8890, "upload_time": "2014-04-03T11:19:48", "url": "https://files.pythonhosted.org/packages/e6/bb/2af32e3066817b7cbd96bff20c73c750f677a37a5cb32dac88aae0bb450c/django-restart-0.2.8.1.tar.gz" } ], "0.2.8.3": [ { "comment_text": "", "digests": { "md5": "1b3c195235d88f1dd998da65e851922b", "sha256": "d47defb4fb3b52a06f5509756e0792c457e08dd552556335183d312fafdf5a06" }, "downloads": -1, "filename": "django-restart-0.2.8.3.tar.gz", "has_sig": false, "md5_digest": "1b3c195235d88f1dd998da65e851922b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10387, "upload_time": "2015-03-26T11:41:26", "url": "https://files.pythonhosted.org/packages/07/3d/5d944db5e0ef4fd06e84693e153bb320a7158ec1bcaf461fe9d929a7dd7a/django-restart-0.2.8.3.tar.gz" } ], "0.2.8.4": [ { "comment_text": "", "digests": { "md5": "12eae1dcc60b732e59a1bae15c4ea890", "sha256": "54af2154df89e658e456fe1c7abb4ffcb2795bda4133ca728c21dfdcdd595aaf" }, "downloads": -1, "filename": "django-restart-0.2.8.4.tar.gz", "has_sig": false, "md5_digest": "12eae1dcc60b732e59a1bae15c4ea890", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10386, "upload_time": "2015-03-26T12:09:26", "url": "https://files.pythonhosted.org/packages/1c/54/307941642ab451127a790186f010827e2a4fa3b589f60170c803f73f8179/django-restart-0.2.8.4.tar.gz" } ], "0.2.8.5": [ { "comment_text": "", "digests": { "md5": "82fad20559be790b3c721a559265e758", "sha256": "b831f25f7cb0af6f927e29b7ed90536b1e641365659c6f7b11ac20714986d6a9" }, "downloads": -1, "filename": "django-restart-0.2.8.5.tar.gz", "has_sig": false, "md5_digest": "82fad20559be790b3c721a559265e758", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10391, "upload_time": "2015-03-26T12:12:37", "url": "https://files.pythonhosted.org/packages/cf/31/69bafe4f05857c0bed929b7c3f56c8eb0e2fa8a4d8477b21e93a2e506d47/django-restart-0.2.8.5.tar.gz" } ], "0.2.8.6": [ { "comment_text": "", "digests": { "md5": "4132426fe77773010b5343176c7fb491", "sha256": "0a55b5b5ced0544cc418a2af9730cf078df3790ef5e8df0ff962dfcbf2156978" }, "downloads": -1, "filename": "django-restart-0.2.8.6.tar.gz", "has_sig": false, "md5_digest": "4132426fe77773010b5343176c7fb491", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10407, "upload_time": "2015-03-26T12:23:21", "url": "https://files.pythonhosted.org/packages/f1/cb/475d0f05a4cd390de3852a2ed1d1b9f267eb0bbcbc48e43546e595b2e673/django-restart-0.2.8.6.tar.gz" } ], "0.2.8.7": [ { "comment_text": "", "digests": { "md5": "294d767b3817e5eec61bf81fabd16e40", "sha256": "94606d7111719c657b3d3694f469c1ae4215586046d9bb9f4707be3dd1e4a4d2" }, "downloads": -1, "filename": "django-restart-0.2.8.7.tar.gz", "has_sig": false, "md5_digest": "294d767b3817e5eec61bf81fabd16e40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10414, "upload_time": "2015-03-26T12:25:27", "url": "https://files.pythonhosted.org/packages/bd/8c/0144c21c1a5ab97289bf0139797a47dc76f45ee2267aa437c80ef3d6c1f7/django-restart-0.2.8.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "294d767b3817e5eec61bf81fabd16e40", "sha256": "94606d7111719c657b3d3694f469c1ae4215586046d9bb9f4707be3dd1e4a4d2" }, "downloads": -1, "filename": "django-restart-0.2.8.7.tar.gz", "has_sig": false, "md5_digest": "294d767b3817e5eec61bf81fabd16e40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10414, "upload_time": "2015-03-26T12:25:27", "url": "https://files.pythonhosted.org/packages/bd/8c/0144c21c1a5ab97289bf0139797a47dc76f45ee2267aa437c80ef3d6c1f7/django-restart-0.2.8.7.tar.gz" } ] }