{
"info": {
"author": "Pablo Martin",
"author_email": "goinnn@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Framework :: Django",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)"
],
"description": ".. contents::\n\n====================\ndjango-smart-extends\n====================\n\n.. image:: https://api.travis-ci.org/goinnn/django-smart-extends.png?branch=master\n :target: https://travis-ci.org/goinnn/django-smart-extends\n\n.. image:: https://badge.fury.io/py/django-smart-extends.png\n :target: https://badge.fury.io/py/django-smart-extends\n\n.. image:: https://pypip.in/d/django-smart-extends/badge.png\n :target: https://pypi.python.org/pypi/django-smart-extends\n\ndjango-smart-extends is a Django application that allows improve the extension system of Django templates.\n\nIt is distributed under the terms of the license write in the same directory,\nin the file COPYING.LGPLv3\n\nDependencies\n============\n\n* `Django `_ >= 1.5 (master branch)\n* There are specific branches for `Django 1.5.X and 1.4.X `_, `1.3.X and 1.2.X `_, and `1.1.X `_ (Also there is an old and unmaintained branch of `Django 1.1.0 `_ without the last changes)\n\nHow to install\n==============\n\nIn your settings.py\n-------------------\n\n::\n\n INSTALLED_APPS = (\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.sites',\n 'django.contrib.admin',\n\n ...\n\n 'smartextends',\n\n )\n\nAnd if you want:\n\n::\n\n OVERWRITE_EXTENDS = True\n\nHow to use\n==========\n\nThis application is useful when you want to overwrite a template of a application in your project.\nCurrently this in Django produce infinite recursion\n\nThis is an example with django.contrib.admin app, but django-smart-extends works with any application, **this is not only to the admin site**. This is very useful if you use reusable django apps or any CMS implemented in django.\n\nIf you set OVERWRITE_EXTENDS = True\n\nfile:admin/change_list.html\n\n::\n\n {% extends \"admin/change_list.html\" %}\n\n {% block extrastyle %}\n {{ block.super }}\n \n {% endblock %}\n\nElse:\n\nfile:admin/change_list.html\n\n::\n\n {% smart_extends \"admin/change_list.html\" %}\n\n {% block extrastyle %}\n {{ block.super }}\n \n {% endblock %}\n\nPatche\n======\n\nIf you set TEMPLATE_DEBUG = False in settings.py you must patch the django code. You can find the patch in the patches directoy::\n\n patch -p2 -N -d my/path/of/django/ < ./patches/patch.diff\n\nReported\n========\n\n * `Ticket in Django trac `_\n * `Pull request to Django repository `_\n\n\n0.7.0 (2013-10-05)\n------------------\n\n* Move the repository to github\n* Add example project\n* Add unit tests\n* Improvements in the code (for each branch)\n* Improvements in the patches (for each branch\n* Integration with `Travis `_\n* Details\n\n0.6 (2012-11-07)\n----------------\n\n* Compatible with Django 1.4 (need Django patches when DEBUG_TEMPLATE is False)\n\n0.5.1 (2011-12-03)\n------------------\n\n* Compatible with Django 1.2 and Django 1.3 (need Django patches when DEBUG_TEMPLATE is False)\n\n0.5.0 (2011-01-11)\n------------------\n\n* Initial version",
"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/goinnn/django-smart-extends",
"keywords": "django,extends,infinite recursion,smart extends",
"license": "LGPL 3",
"maintainer": null,
"maintainer_email": null,
"name": "django-smart-extends",
"package_url": "https://pypi.org/project/django-smart-extends/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/django-smart-extends/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/goinnn/django-smart-extends"
},
"release_url": "https://pypi.org/project/django-smart-extends/0.7.0/",
"requires_dist": null,
"requires_python": null,
"summary": "This application is useful when you want to overwrite a template of a application in your project. Currently this in Django produce infinite recursion",
"version": "0.7.0"
},
"last_serial": 881988,
"releases": {
"0.5": [
{
"comment_text": "",
"digests": {
"md5": "eae024ab94a7bc9fe582deeaf214abef",
"sha256": "3ad5264f964b1195fe242b64673d0b3a040f93a36c0630a1540047a11a06f6b9"
},
"downloads": -1,
"filename": "django-smart-extends-0.5.tar.gz",
"has_sig": false,
"md5_digest": "eae024ab94a7bc9fe582deeaf214abef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5851,
"upload_time": "2011-01-11T17:31:30",
"url": "https://files.pythonhosted.org/packages/31/d5/ed339f8eae852ef327889c9768c94f043574c3135519796c796adb146b77/django-smart-extends-0.5.tar.gz"
}
],
"0.5.1": [
{
"comment_text": "",
"digests": {
"md5": "f01236fb8b95ac5a247a662571e98b52",
"sha256": "974d99752b19ee606a56043f170dd67234d73b110fff989344b55783dfdde638"
},
"downloads": -1,
"filename": "django-smart-extends-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "f01236fb8b95ac5a247a662571e98b52",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6123,
"upload_time": "2011-12-03T13:42:34",
"url": "https://files.pythonhosted.org/packages/5c/7d/b392de50dcb56bc51dc643f9722b60a07546dc0d196545ac0c51d761a35f/django-smart-extends-0.5.1.tar.gz"
}
],
"0.6": [
{
"comment_text": "",
"digests": {
"md5": "ee845e99cde20f18b9b1f28c83e9b2b5",
"sha256": "a04884444d1b1995129ba026fe64116cd062955781d38c04108257aeb101be09"
},
"downloads": -1,
"filename": "django-smart-extends-0.6.tar.gz",
"has_sig": false,
"md5_digest": "ee845e99cde20f18b9b1f28c83e9b2b5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6613,
"upload_time": "2012-11-07T17:17:34",
"url": "https://files.pythonhosted.org/packages/9d/8f/b360df423c350bf5d563f3625a3c13ac9aadbd38bf604ffd84d2d034486e/django-smart-extends-0.6.tar.gz"
}
],
"0.7.0": [
{
"comment_text": "",
"digests": {
"md5": "0ebb9b411e0b437da4f5ed938ccc8836",
"sha256": "65c0bf780432a97886e60f74880143b1a78fa0368b4c5dcdc97f744ea310f2c5"
},
"downloads": -1,
"filename": "django-smart-extends-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "0ebb9b411e0b437da4f5ed938ccc8836",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7660,
"upload_time": "2013-10-05T18:09:51",
"url": "https://files.pythonhosted.org/packages/9e/83/9909218450f76c0bb8693a77e50c9af87a4491b8cdc0934f3ae644d5e632/django-smart-extends-0.7.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0ebb9b411e0b437da4f5ed938ccc8836",
"sha256": "65c0bf780432a97886e60f74880143b1a78fa0368b4c5dcdc97f744ea310f2c5"
},
"downloads": -1,
"filename": "django-smart-extends-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "0ebb9b411e0b437da4f5ed938ccc8836",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7660,
"upload_time": "2013-10-05T18:09:51",
"url": "https://files.pythonhosted.org/packages/9e/83/9909218450f76c0bb8693a77e50c9af87a4491b8cdc0934f3ae644d5e632/django-smart-extends-0.7.0.tar.gz"
}
]
}