djaodjin-extended-templates


Namedjaodjin-extended-templates JSON
Version 0.4.7 PyPI version JSON
download
home_pageNone
SummaryDjaoDjin's Template wrappers for HTML email and PDF templates
upload_time2025-02-09 03:00:27
maintainerNone
docs_urlNone
authorNone
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
===========

**Attention!** (2024-10-01) Renamed `master` branch to `main`
(see [GitHub Renaming the default branch from master](https://github.com/github/renaming)).

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

<pre><code>
    $ python -m venv .venv
    $ source .venv/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.10, **Django:** 4.2  ([LTS](https://www.djangoproject.com/download/))
- **Python:** 3.12, **Django:** 5.0  (latest)
- **Python:** 3.7,  **Django:** 3.2  (legacy)
- **Python:** 2.7,  **Django:** 1.11 (legacy) - use testsite/requirements-legacy.txt

0.4.7

  * passes csrfToken to Javascript components

[previous release notes](changelog)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "djaodjin-extended-templates",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "The DjaoDjin Team <help@djaodjin.com>",
    "keywords": "django, templates, email, pdf",
    "author": null,
    "author_email": "The DjaoDjin Team <help@djaodjin.com>",
    "download_url": "https://files.pythonhosted.org/packages/81/63/7555633aa407709e539b1ea68ea2236d67ef95cf0c7eb5111efa146b5c38/djaodjin_extended_templates-0.4.7.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\n**Attention!** (2024-10-01) Renamed `master` branch to `main`\n(see [GitHub Renaming the default branch from master](https://github.com/github/renaming)).\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    $ python -m venv .venv\n    $ source .venv/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.10, **Django:** 4.2  ([LTS](https://www.djangoproject.com/download/))\n- **Python:** 3.12, **Django:** 5.0  (latest)\n- **Python:** 3.7,  **Django:** 3.2  (legacy)\n- **Python:** 2.7,  **Django:** 1.11 (legacy) - use testsite/requirements-legacy.txt\n\n0.4.7\n\n  * passes csrfToken to Javascript components\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.7",
    "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": null,
            "digests": {
                "blake2b_256": "83bcdf601aa332655fa2f0d5ada6a3d767f2918077264fff9309e7fc6c69fb01",
                "md5": "8ae7eb6ab6c7d5df42fa99836feaabd0",
                "sha256": "f797b8590e9e7694f3c47709ec888297b60ccdd94269243ff749b4da61231420"
            },
            "downloads": -1,
            "filename": "djaodjin_extended_templates-0.4.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8ae7eb6ab6c7d5df42fa99836feaabd0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 115577,
            "upload_time": "2025-02-09T03:00:26",
            "upload_time_iso_8601": "2025-02-09T03:00:26.441235Z",
            "url": "https://files.pythonhosted.org/packages/83/bc/df601aa332655fa2f0d5ada6a3d767f2918077264fff9309e7fc6c69fb01/djaodjin_extended_templates-0.4.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "81637555633aa407709e539b1ea68ea2236d67ef95cf0c7eb5111efa146b5c38",
                "md5": "39ae64f945c51bba0fc6c78422d50616",
                "sha256": "86cc450a85146f0c9d738c494e2d8eda2c192ada2548522a4fb9684ca2fda7c4"
            },
            "downloads": -1,
            "filename": "djaodjin_extended_templates-0.4.7.tar.gz",
            "has_sig": false,
            "md5_digest": "39ae64f945c51bba0fc6c78422d50616",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 72218,
            "upload_time": "2025-02-09T03:00:27",
            "upload_time_iso_8601": "2025-02-09T03:00:27.714161Z",
            "url": "https://files.pythonhosted.org/packages/81/63/7555633aa407709e539b1ea68ea2236d67ef95cf0c7eb5111efa146b5c38/djaodjin_extended_templates-0.4.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-09 03:00:27",
    "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.56603s