{ "info": { "author": "Martin Mahner", "author_email": "martin@mahner.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "===============\nTemplates Admin\n===============\n\nTemplates Admin is a tiny, nifty application for your Django_ project to edit\nyour templates, that are stored on your disk, via an admin interface.\n\nOriginally this app was inspired by dbtemplates_.\n\n.. _Django: http://www.djangoproject.com/\n.. _dbtemplates: http://code.google.com/p/django-dbtemplates/\n\nInstallation:\n=============\n\n1. Put ``templatesadmin`` into your INSTALLED_APPS setting.\n\n2. Add this line to your urlconf but **before** your admin include::\n\n (r'^admin/templatesadmin/', include('templatesadmin.urls')),\n\n3. Create a group ``TemplateAdmins`` and put all users in there, who should been\n able to edit templates. You don't need to grant any permissions to that group.\n Just call it ``TemplateAdmins``.\n\n Keep in mind that also Superusers (*is_admin* flag) must belong to this group, if\n they should been able to edit templates. The group name is case-sensitive!\n\n4. Point your webbrowser to ``http://localhost/admin/templatesadmin/`` and start\n editing.\n\nOptional Settings:\n==================\n\nThere are some settings that you can override in your ``settings.py``:\n\n1. ``TEMPLATESADMIN_GROUP``: The name of your group of your TemplatesAdmin\n Users.\n\n Default: ``TemplateAdmins``\n\n2. ``TEMPLATESADMIN_VALID_FILE_EXTENSIONS``: A tuple of file-extensions (without\n the leading dot) that are editable by TemplatesAdmin.\n\n Default::\n\n TEMPLATESADMIN_VALID_FILE_EXTENSIONS = (\n 'html',\n 'htm',\n 'txt',\n 'css',\n 'backup'\n )\n\n3. ``TEMPLATESADMIN_TEMPLATE_DIRS``: A tuple of directories you want your users\n to edit, instead of all templates.\n\n Default: All user-defined and application template-dirs.\n\n4. ``TEMPLATESADMIN_HIDE_READONLY``: A boolean to wether enable or disable\n displaying of read-only templates.\n\n Default: ``False``\n\n5. ``TEMPLATESADMIN_EDITHOOKS``: A tuple of callables edithooks. Edithooks are\n a way to interact with changes made on a template. Think of a plugin system.\n\n There are two builtin edithooks:\n\n - ``dotbackupfiles.DotBackupFilesHook``: Creates a copy of the original file\n before overwriting, naming it ``.backup``.\n - ``gitcommit.GitCommitHook``: Commits your templates after saving via git\n version control.\n - ``hgcommit.HgCommitHook``: Creates a `mercurial\n `_ commit after saving.\n\n You can define your own edithooks, see above hooks as example.\n\n Default::\n\n TEMPLATESADMIN_EDITHOOKS = (\n 'templatesadmin.edithooks.dotbackupfiles.DotBackupFilesHook',\n )\n\n\nLICENSE:\n========\n\nThis application is licensed under the ``Beerware License``.\nSee ``LICENSE`` for details.\n\nChangelog:\n==========\n\n**v0.7 (2012-11-20)**\n\n* Added missing permission check for an Admin view.\n\n**v0.6 (2009-09-08)**\n\n* Published under a proper BSD license.\n* The templates now inherits from the Django templates to provide a better\n look and feel.\n* A lot of overall improvements from typo fixing to better permission handling.\n Thanks to peritus and rlaager.\n\n**v0.5.5 (2009-02-13)**\n\n* Documented that there is a edithook for mercurial repositories.\n* Bugfix in GitCommitHook: Allow non-ascii characters.\n\n**v0.5.4 (2009-02-13)**\n\n* Fixed missing templatetags in pypi release.\n\n**v0.5.3 (2009-02-03)**\n\n* Edit-Views now have an optional argument \"base_form\" to overwrite the default form.\n* Removed shorten-path functions. They didn't work under some conditions.\n* List of templates in the admin overview are shorter.\n\n**v0.5.2 (2008-12-12)**\n\n* Added a edithook for dealing with mercurial repositories. Thank you v.oostveen! (Issue3_)\n* Fixed handling of newline characters at the end of the file, which causes to\n delete the last character. (Issue4_)\n\n.. _Issue3: http://code.google.com/p/django-templatesadmin/issues/detail?id=3\n.. _Issue4: http://code.google.com/p/django-templatesadmin/issues/detail?id=4", "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/bartTC/django-templatesadmin/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-templatesadmin", "package_url": "https://pypi.org/project/django-templatesadmin/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-templatesadmin/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/bartTC/django-templatesadmin/" }, "release_url": "https://pypi.org/project/django-templatesadmin/0.7/", "requires_dist": null, "requires_python": null, "summary": "A Django app to make minor changes to your templates on the fly.", "version": "0.7" }, "last_serial": 790845, "releases": { "0.5.1": [ { "comment_text": "", "digests": { "md5": "16aef42a8113e29df1b4e4afb553b4d3", "sha256": "b6e046ce618722ddc46220b6955a749e3c5427559c0ec51e453c401919398d64" }, "downloads": -1, "filename": "django-templatesadmin-0.5.1.tar.gz", "has_sig": false, "md5_digest": "16aef42a8113e29df1b4e4afb553b4d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9299, "upload_time": "2008-09-10T11:37:15", "url": "https://files.pythonhosted.org/packages/5c/d8/77d396ca20bebe641d0abc63ca604d3b046d0cf10325c9288690a6495e32/django-templatesadmin-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "96b8239f730b44f638528080c7a76702", "sha256": "3bd0d0a4e744cdcff3dd3b058b88ba82a19446e2f37d76a8abfe9ccef26b539d" }, "downloads": -1, "filename": "django-templatesadmin-0.5.2.tar.gz", "has_sig": true, "md5_digest": "96b8239f730b44f638528080c7a76702", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10222, "upload_time": "2008-12-12T12:36:31", "url": "https://files.pythonhosted.org/packages/3c/5c/b06cfee75f7b1228497809be30b1f44b397b8d7629b930c588967c188fc1/django-templatesadmin-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "f0b473861e068db9cac0c2d23de2359f", "sha256": "263346031656f29b1d95d551ea23918410258f4842c9f23f0a3139589bff9642" }, "downloads": -1, "filename": "django-templatesadmin-0.5.3.tar.gz", "has_sig": true, "md5_digest": "f0b473861e068db9cac0c2d23de2359f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10418, "upload_time": "2009-02-13T10:17:26", "url": "https://files.pythonhosted.org/packages/0a/7c/50c7bb735df5d18c79f5b318f404d1cb022515094c72cb609be3763aaa1a/django-templatesadmin-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "5b1082431a1d13e7b8f02f01ad174155", "sha256": "3a3d07769fe9906ce57b8b1bb28cc1587ef9a8e6293d357dd8bdfb13eb573e1a" }, "downloads": -1, "filename": "django-templatesadmin-0.5.4.tar.gz", "has_sig": true, "md5_digest": "5b1082431a1d13e7b8f02f01ad174155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11061, "upload_time": "2009-02-13T10:27:08", "url": "https://files.pythonhosted.org/packages/34/c0/fa3a3d059f310f973c8ae34d9f092a7d222cee507ccd52a8685b5a567aa7/django-templatesadmin-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "1ca5f6e77b13b624ad778361674e267b", "sha256": "61f276d937912a99c8a3a7e40ba041120bea1f15c6d9a2444e27ebfbc91d7fe1" }, "downloads": -1, "filename": "django-templatesadmin-0.5.5.tar.gz", "has_sig": true, "md5_digest": "1ca5f6e77b13b624ad778361674e267b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11087, "upload_time": "2009-02-13T12:20:52", "url": "https://files.pythonhosted.org/packages/d2/a5/2975f25fbb8f6774c9595cf2476378395b8bf958c00253bcc780791b6e12/django-templatesadmin-0.5.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "167b2adedca5421e02d0f6078aaa28ca", "sha256": "d20c383b49a6d0c15e1f98b6442f7e97ec19ce4068d73e6ddcea6809fee75610" }, "downloads": -1, "filename": "django-templatesadmin-0.6.tar.gz", "has_sig": true, "md5_digest": "167b2adedca5421e02d0f6078aaa28ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10085, "upload_time": "2009-08-08T22:00:14", "url": "https://files.pythonhosted.org/packages/4c/37/577cca7d2c2ff4a49fe3dbbd1f37c9d5151eea2c7b3118ebb8f32c93edc3/django-templatesadmin-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "586e128a01b340f2c6ade5d1b49b22e6", "sha256": "3342d23f99a3a5a959eae3ddb777b8e65b3b1ead55cdb6dc310ba2c5636fcf73" }, "downloads": -1, "filename": "django-templatesadmin-0.7.tar.gz", "has_sig": false, "md5_digest": "586e128a01b340f2c6ade5d1b49b22e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9494, "upload_time": "2012-11-20T21:05:54", "url": "https://files.pythonhosted.org/packages/24/fb/736fad2a9e093e75d6f7d1dd53a11ae174e489f77ba42ab49a5c7f00899d/django-templatesadmin-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "586e128a01b340f2c6ade5d1b49b22e6", "sha256": "3342d23f99a3a5a959eae3ddb777b8e65b3b1ead55cdb6dc310ba2c5636fcf73" }, "downloads": -1, "filename": "django-templatesadmin-0.7.tar.gz", "has_sig": false, "md5_digest": "586e128a01b340f2c6ade5d1b49b22e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9494, "upload_time": "2012-11-20T21:05:54", "url": "https://files.pythonhosted.org/packages/24/fb/736fad2a9e093e75d6f7d1dd53a11ae174e489f77ba42ab49a5c7f00899d/django-templatesadmin-0.7.tar.gz" } ] }