djaodjin-extended-templates


Namedjaodjin-extended-templates JSON
Version 0.4.6 PyPI version JSON
download
home_page
SummaryDjaoDjin's Template wrappers for HTML email and PDF templates
upload_time2024-03-14 19:51:21
maintainer
docs_urlNone
author
requires_python>=3.7
licenseBSD-2-Clause
keywords django templates email pdf
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            djaodjin-extended-templates is a Django application that adds missing features
for managing Django templates.

Major Features:

- Live editing of HTML templates
- Build .css from .scss on page load
- HTML email templates
- PDF templates
- Media assets gallery
- Upload theme packages


Development
===========

After cloning the repository, create a virtualenv environment, install
the prerequisites, create the database then run the testsite webapp.

<pre><code>
    $ virtualenv <em>installTop</em>
    $ source <em>installTop</em>/bin/activate
    $ pip install -r testsite/requirements.txt
    $ make vendor-assets-prerequisites

    $ make initdb

    $ python manage.py runserver

    # Browse http://localhost:8000/
    # Start edit live templates

</code></pre>

Configure the settings to connect to your e-mail server,
then run the sendtestemail command.

    credentials:
      EMAIL_HOST_USER =
      EMAIL_HOST_PASSWORD =
    site.conf:
      EMAIL_HOST    =
      EMAIL_PORT    =
      EMAIL_USE_TLS =
      DEFAULT_FROM_EMAIL =

Then run the ``sendtestemail`` command and look for an e-mail delivered to you
in HTML format.

    $ python manage.py sendtestemail __your_email_address__


Note that you will need to link ``podofo-flatform.cc`` with [podofo](http://podofo.sourceforge.net/)
version 0.9.3. Version 0.9.1 as shipped with many RedHat systems will link
with no error but the outputed PDF will be blank.

Release Notes
=============

Tested with

- **Python:** 3.7, **Django:** 3.2 ([LTS](https://www.djangoproject.com/download/))
- **Python:** 3.10, **Django:** 4.2 (latest)
- **Python:** 2.7, **Django:** 1.11 (legacy) - use testsite/requirements-legacy.txt

0.4.6

  * fixes .pdf template files when running with latest Django versions
  * handles updates to django-storages>=1.14 properly
  * supports OpenAPI 3 doc generator

[previous release notes](changelog)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "djaodjin-extended-templates",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "The DjaoDjin Team <help@djaodjin.com>",
    "keywords": "django,templates,email,pdf",
    "author": "",
    "author_email": "The DjaoDjin Team <help@djaodjin.com>",
    "download_url": "https://files.pythonhosted.org/packages/f8/06/4671944e9bb6d87b93ade30683b6f98175c699801d6331fa5a38537ad1ff/djaodjin-extended-templates-0.4.6.tar.gz",
    "platform": null,
    "description": "djaodjin-extended-templates is a Django application that adds missing features\nfor managing Django templates.\n\nMajor Features:\n\n- Live editing of HTML templates\n- Build .css from .scss on page load\n- HTML email templates\n- PDF templates\n- Media assets gallery\n- Upload theme packages\n\n\nDevelopment\n===========\n\nAfter cloning the repository, create a virtualenv environment, install\nthe prerequisites, create the database then run the testsite webapp.\n\n<pre><code>\n    $ virtualenv <em>installTop</em>\n    $ source <em>installTop</em>/bin/activate\n    $ pip install -r testsite/requirements.txt\n    $ make vendor-assets-prerequisites\n\n    $ make initdb\n\n    $ python manage.py runserver\n\n    # Browse http://localhost:8000/\n    # Start edit live templates\n\n</code></pre>\n\nConfigure the settings to connect to your e-mail server,\nthen run the sendtestemail command.\n\n    credentials:\n      EMAIL_HOST_USER =\n      EMAIL_HOST_PASSWORD =\n    site.conf:\n      EMAIL_HOST    =\n      EMAIL_PORT    =\n      EMAIL_USE_TLS =\n      DEFAULT_FROM_EMAIL =\n\nThen run the ``sendtestemail`` command and look for an e-mail delivered to you\nin HTML format.\n\n    $ python manage.py sendtestemail __your_email_address__\n\n\nNote that you will need to link ``podofo-flatform.cc`` with [podofo](http://podofo.sourceforge.net/)\nversion 0.9.3. Version 0.9.1 as shipped with many RedHat systems will link\nwith no error but the outputed PDF will be blank.\n\nRelease Notes\n=============\n\nTested with\n\n- **Python:** 3.7, **Django:** 3.2 ([LTS](https://www.djangoproject.com/download/))\n- **Python:** 3.10, **Django:** 4.2 (latest)\n- **Python:** 2.7, **Django:** 1.11 (legacy) - use testsite/requirements-legacy.txt\n\n0.4.6\n\n  * fixes .pdf template files when running with latest Django versions\n  * handles updates to django-storages>=1.14 properly\n  * supports OpenAPI 3 doc generator\n\n[previous release notes](changelog)\n",
    "bugtrack_url": null,
    "license": "BSD-2-Clause",
    "summary": "DjaoDjin's Template wrappers for HTML email and PDF templates",
    "version": "0.4.6",
    "project_urls": {
        "changelog": "https://github.com/djaodjin/djaodjin-extended-templates/changelog",
        "documentation": "https://djaodjin-extended-templates.readthedocs.io/",
        "repository": "https://github.com/djaodjin/djaodjin-extended-templates"
    },
    "split_keywords": [
        "django",
        "templates",
        "email",
        "pdf"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac23e978bd688489285bf000c5655861696dc046aa2ea35bfa4db932e0b57473",
                "md5": "861e9de358612b0630f7adb57fa4ec75",
                "sha256": "b6d520f17c0db146920bf126a3b2e701275f6d7e947fc05f1f5af8a774b2b1d4"
            },
            "downloads": -1,
            "filename": "djaodjin_extended_templates-0.4.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "861e9de358612b0630f7adb57fa4ec75",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 115297,
            "upload_time": "2024-03-14T19:51:19",
            "upload_time_iso_8601": "2024-03-14T19:51:19.858386Z",
            "url": "https://files.pythonhosted.org/packages/ac/23/e978bd688489285bf000c5655861696dc046aa2ea35bfa4db932e0b57473/djaodjin_extended_templates-0.4.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f8064671944e9bb6d87b93ade30683b6f98175c699801d6331fa5a38537ad1ff",
                "md5": "e0952e28f2b3c7229de1e7d2e3ed12b3",
                "sha256": "22c60f6a85b16bdd1182b73b630a537420fed1c3adeeaf75daf073252f36d0f2"
            },
            "downloads": -1,
            "filename": "djaodjin-extended-templates-0.4.6.tar.gz",
            "has_sig": false,
            "md5_digest": "e0952e28f2b3c7229de1e7d2e3ed12b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 72581,
            "upload_time": "2024-03-14T19:51:21",
            "upload_time_iso_8601": "2024-03-14T19:51:21.555871Z",
            "url": "https://files.pythonhosted.org/packages/f8/06/4671944e9bb6d87b93ade30683b6f98175c699801d6331fa5a38537ad1ff/djaodjin-extended-templates-0.4.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-14 19:51:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "djaodjin",
    "github_project": "djaodjin-extended-templates",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "djaodjin-extended-templates"
}
        
Elapsed time: 0.22436s