Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

templado

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templado

Templado is a simple Django app to upload your HTML report templates and generate PDF reports by filling the fields of form based on JSON template.

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
1

===== Templado

Templado is a simple Django app to upload your HTML report templates and generate those reports by filling the fields of form based on JSON template.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "templado" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = ( ... 'bootstrap3', 'templado', )

  2. Modify also settings with::

    FILE_UPLOAD_HANDLERS = ( ... 'django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler', )

    TEMPLATE_CONTEXT_PROCESSORS = ( ... 'django.contrib.auth.context_processors.auth', 'django.core.context_processors.request', )

    from django.conf import settings REPORT_STATIC_DIR = os.path.join(os.path.join(settings.MEDIA_ROOT, 'media'), 'report-static')

  3. Include the templado URLconf in your project urls.py like this::

    url(r'^templado/', include('templado.urls', namespace='templado')),

  4. Run python manage.py migrate to create the templado models.

  5. Start the development server.

  6. Visit http://127.0.0.1:8000/templado/ to start using Templado app.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc