{ "info": { "author": "Tomas Zulberti", "author_email": "tzulberti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# django-session-idle-timeout\n\nA Django middleware application to timeout a logged in user\nsession after a specified time period.\nA django message will be issued if the session gets timed out.\n\n## Requirements\n\nMake sure the following Django apps and middlewares are enabled:\n* Authentication (http://docs.djangoproject.com/en/dev/topics/auth/)\n* Sessions (http://docs.djangoproject.com/en/dev/topics/http/sessions/)\n* Messages framework (http://docs.djangoproject.com/en/dev/ref/contrib/messages/)\n\n```python\nINSTALLED_APPS += (\n 'django.contrib.auth',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n)\n```\n\n```python\nMIDDLEWARE_CLASSES += (\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n)\n```\n\n## Installation instructions\n\nInstall django-session-idle-timeout\n```bash\neasy_install django-session-idle-timeout\n```\n\nor\n\n```bash\npip install django-session-idle-timeout\n```\n\n### Installed apps\n\n```python\nINSTALLED_APPS += (\n 'django-session-idle-timeout',\n)\n```\n\n### Middleware\n\n```python\nMIDDLEWARE_CLASSES += (\n 'django-session-idle-timeout.middleware.SessionIdleTimeout',\n)\n```\n\n### Settings\n\nSESSION_IDLE_TIMEOUT defines the period after which the session gets timed out in seconds.\nThe default value is 30min.\n\n```python\nSESSION_IDLE_TIMEOUT = 1800\n```\n\n## Keepalive Ping\n\nKeeps the session alive as long as the browser window is opened using a javascript ping.\n\n### Urls\n\nAdd to your urls.py e.g.:\n```python\nurlpatterns += (\n url(r'^django-session-idle-timeout/', include('django-session-idle-timeout.urls')),\n)\n```\n\n### Template\n\nLoad the keepalive template tag to start the javascript polling:\n```django\n{% session_keep_alive %}\n{% load session_keep_alive %}\n```\n\n## Important\nThis is a fork of http://github.com/subhranath/django-session-idle-timeout", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tzulberti/django-session-idle-timeout", "keywords": "django contrib,session login expiration", "license": "License :: OSI Approved :: BSD License", "maintainer": null, "maintainer_email": null, "name": "django-session-idle-timeout", "package_url": "https://pypi.org/project/django-session-idle-timeout/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-session-idle-timeout/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tzulberti/django-session-idle-timeout" }, "release_url": "https://pypi.org/project/django-session-idle-timeout/1.4.2/", "requires_dist": null, "requires_python": null, "summary": "Timeout a logged user after a period of time", "version": "1.4.2" }, "last_serial": 1159204, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "7b8510afac64214b68873818a5024e0c", "sha256": "bb17c07520a1ee8548c6daa2f5b9cfff3e0cf819fa433ad42b3361d9a4ff83d0" }, "downloads": -1, "filename": "django_session_idle_timeout-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "7b8510afac64214b68873818a5024e0c", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 3673, "upload_time": "2012-06-27T14:44:02", "url": "https://files.pythonhosted.org/packages/63/de/88b96bec09b9d10f2bf4da911cc87419c0c393ca3d5be5b6a0b52834eabd/django_session_idle_timeout-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5807a449674f6bf46ee3413ace4135b4", "sha256": "089fae0c5068602f774cfbada3af5e61d6cd8275bde0a220646216a80b8733ef" }, "downloads": -1, "filename": "django-session-idle-timeout-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5807a449674f6bf46ee3413ace4135b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2512, "upload_time": "2012-06-27T14:44:01", "url": "https://files.pythonhosted.org/packages/57/64/67cea3147c5d2425043b6ca23a1f423f69bb8721241f5a0215a9116c6e5e/django-session-idle-timeout-1.0.1.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "9b552e53b1bad2ed1b420c987f31f534", "sha256": "22f29c3f1b58f3d578ee7324cedfba3824da779f97b0a8a15098ed8f4150f69a" }, "downloads": -1, "filename": "django-session-idle-timeout-1.1.5.tar.gz", "has_sig": false, "md5_digest": "9b552e53b1bad2ed1b420c987f31f534", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3423, "upload_time": "2013-01-25T10:53:33", "url": "https://files.pythonhosted.org/packages/66/bd/15695292fd9a2765d43ad445b9f16fda9de59cc3a8413912c9c18bc657c8/django-session-idle-timeout-1.1.5.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "b649afc7aa98c077387c70ed74f029c1", "sha256": "8b606f6087ada296b283f6b9b8b58e23f8ebfbcfacabf8c19f91d370aaffc959" }, "downloads": -1, "filename": "django-session-idle-timeout-1.2.0.tar.gz", "has_sig": false, "md5_digest": "b649afc7aa98c077387c70ed74f029c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3409, "upload_time": "2013-01-17T10:05:45", "url": "https://files.pythonhosted.org/packages/58/6a/11a7975f8e1644bca4cd9ab51532ebeb69e8db846bded4f096c35c606d44/django-session-idle-timeout-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "4375d5e151c9d7aa87085b89146523fb", "sha256": "f85f09b6e8f4ac82c0b6bf465b6e051495ff4d44cd738b633ccea44519d04b55" }, "downloads": -1, "filename": "django-session-idle-timeout-1.3.0.tar.gz", "has_sig": false, "md5_digest": "4375d5e151c9d7aa87085b89146523fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3427, "upload_time": "2013-01-25T10:57:36", "url": "https://files.pythonhosted.org/packages/02/8b/ed5e9c4b7f1d4e405240fc2578e12b62aabd63136f9169784a1baf355229/django-session-idle-timeout-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "a6d6f4c920d57cb7058d035756b047b6", "sha256": "8446774e791bc19487c198131a8a4b4b409bf57fad33eaae52eae106cfa6d95d" }, "downloads": -1, "filename": "django-session-idle-timeout-1.3.1.tar.gz", "has_sig": false, "md5_digest": "a6d6f4c920d57cb7058d035756b047b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3356, "upload_time": "2013-01-25T13:13:43", "url": "https://files.pythonhosted.org/packages/32/64/f7801e48ffe3f9a3f6c87e957baed2fb857b261e603e276bdc0f8ac0ccec/django-session-idle-timeout-1.3.1.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "4192fcfbace58405cbf44d12f212d9e3", "sha256": "4199100b2e0030a6dd424267866a0f54ce7a65d4d4d78088a32828c968190c92" }, "downloads": -1, "filename": "django-session-idle-timeout-1.4.0.tar.gz", "has_sig": false, "md5_digest": "4192fcfbace58405cbf44d12f212d9e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3442, "upload_time": "2014-05-28T00:52:30", "url": "https://files.pythonhosted.org/packages/e1/66/56b12ce7aa5d6b1ce0cb351459d701063605a02e0eede94c80c731e58fe8/django-session-idle-timeout-1.4.0.tar.gz" } ], "1.4.2": [ { "comment_text": "", "digests": { "md5": "614dd12a051d0642fc987cc69e6fa5ae", "sha256": "f9297c7637309e9f4b132045403b4461ea668b395164f07172cfa286ad6464cb" }, "downloads": -1, "filename": "django-session-idle-timeout-1.4.2.tar.gz", "has_sig": false, "md5_digest": "614dd12a051d0642fc987cc69e6fa5ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3463, "upload_time": "2014-07-16T00:53:24", "url": "https://files.pythonhosted.org/packages/bb/e6/c9a1389a154017cf7f08be6362c7aafb357bafbbc32e33fecbf48ec243aa/django-session-idle-timeout-1.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "614dd12a051d0642fc987cc69e6fa5ae", "sha256": "f9297c7637309e9f4b132045403b4461ea668b395164f07172cfa286ad6464cb" }, "downloads": -1, "filename": "django-session-idle-timeout-1.4.2.tar.gz", "has_sig": false, "md5_digest": "614dd12a051d0642fc987cc69e6fa5ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3463, "upload_time": "2014-07-16T00:53:24", "url": "https://files.pythonhosted.org/packages/bb/e6/c9a1389a154017cf7f08be6362c7aafb357bafbbc32e33fecbf48ec243aa/django-session-idle-timeout-1.4.2.tar.gz" } ] }