Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Manage your service templates via Django Admin.

Installation

pip install django-service-templates

Usage

from dbtemplates import Template
from django_service_templates.models import ServiceTemplate

class HeatTemplate(ServiceTemplate):

    # your awesome stuff

    pass

dbtemplate = Template.objects.create(name='My Jinja2 Template', content='{{ name }}')

HeatTemplate.objects.create(template=dbtemplate, context={'name': 'My name'}).render()

> 'My name'

Metadata

Release files for django-service-templates 1.0.0.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-service-templates 1.0.0.0a4
File Size Uploaded
django-service-templates-1.0.0.0a4.tar.gz 15.2 kB Details

Release files / django-service-templates-1.0.0.0a4.tar.gz

Download URL django-service-templates-1.0.0.0a4.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fd1b5a98ae40cbcae98e2f85f6e639133edb438c8dcbf567823f4b337473e3b9
BLAKE2b-256 checksum
How to use checksums
f257fd785430f9a4524afd15de673b9768adf382157f1ab87824327ac37034ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page