{ "info": { "author": "Oxys", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "-----\nAbout\n-----\n\nStore an history of model url change\n\n* a manager to register model to survey\n* a middleware to intercept http404 and redirect to new url if exists.\n\n------------\nInstallation\n------------\n\nTo install the latest stable version::\n\n\tpip install -e git+https://github.com/oxys-net/django-historylink.git#egg=django-historylink\n\n\nYou will need to include ``historylink`` in your ``INSTALLED_APPS``::\n\n\tINSTALLED_APPS = (\n\t ...\n\t 'historylink', \n\t)\n\nYou will need to include ``historylink`` in your ``MIDDLEWARE_CLASSES``::\n\n\tMIDDLEWARE_CLASSES = (\n\t ...\n\t 'historylink.middleware.HistoryLink', \n\t)\n\n-----\nUsage\n-----\n\nIn your models ::\n\n\tfrom historylink.manager import manager\n\tmanager.register(model)\n\tmanager.register([model1, model2])\n\tmanager.register([model1, model2], MyModelManager) # where MyModelManager inherit from manager.ModelManager\n\t\n--------------\nDjango command\n--------------\n\nThe command below add HistoryLink object for your existing datas\n\n\t./manage.py historylink_sync", "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/oxys-net/django-historylink", "keywords": "django url change redirect 404 301", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "historylink", "package_url": "https://pypi.org/project/historylink/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/historylink/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/oxys-net/django-historylink" }, "release_url": "https://pypi.org/project/historylink/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Store model url change, od a permanent redirect on 404", "version": "0.0.1" }, "last_serial": 851147, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d5366500c9902219aeccc9244c1e14c5", "sha256": "f13db924994738f784338cfef8dfa759104c3d18de40e633c2a5fc27d1967c23" }, "downloads": -1, "filename": "historylink-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5366500c9902219aeccc9244c1e14c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2941, "upload_time": "2013-08-28T13:19:59", "url": "https://files.pythonhosted.org/packages/61/8a/967a77d52b6bbe093c962ba317e02f9ddde6f897ec68df061166e1ea0697/historylink-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5366500c9902219aeccc9244c1e14c5", "sha256": "f13db924994738f784338cfef8dfa759104c3d18de40e633c2a5fc27d1967c23" }, "downloads": -1, "filename": "historylink-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5366500c9902219aeccc9244c1e14c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2941, "upload_time": "2013-08-28T13:19:59", "url": "https://files.pythonhosted.org/packages/61/8a/967a77d52b6bbe093c962ba317e02f9ddde6f897ec68df061166e1ea0697/historylink-0.0.1.tar.gz" } ] }