Skip to main content

A Django app for fetch/download pages from API

Project description

На русском

Warning! Before start you have to register in and have “Tilda Business” account for use Tilda API.

Synchronization available only for published in Project pages.

Supported versions

  • Django 1.10, 1.11 (other version yet not tested)
  • Python 2.7, >3.4




Quick-Start Guide

  1. Install Django Tilda:
pip install django-tilda
  1. Add to your INSTALLED_APPS:
  1. Add in params:

TILDA_PUBLIC_KEY and TILDA_SECRET_KEY generated in Business account —

TILDA_PROJECTID — you need to have exist project in (look at your location bar when you work with project in Tilda panel)

TILDA_MEDIA_IMAGES_URL — your url path for folder in TILDA_MEDIA_IMAGES

TILDA_MEDIA_IMAGES_URL = '/media/tilda/images'
TILDA_MEDIA_IMAGES = os.path.join(BASE_DIR, 'media/tilda/images')
TILDA_MEDIA_JS = os.path.join(BASE_DIR, 'media/tilda/js')
TILDA_MEDIA_CSS = os.path.join(BASE_DIR, 'media/tilda/css')
  1. TILDA_MEDIA_IMAGES, TILDA_MEDIA_JS, TILDA_MEDIA_CSS — create this folders manually
  2. Migrate python migrate



Simple example:

from django.db import models
from tilda import TildaPageField

class Page(models.Model):

    title = models.CharField(

    tilda_content = TildaPageField(
        verbose_name=u'Tilda Page'

    created = models.DateTimeField(

template (object — instance of Page class)

    {% for css in object.tilda_content.get_css_list %}
        <link rel="stylesheet" href="{{ css }}">
    {% endfor %}

    {{ object.tilda_content.html|safe }}
    {% for js in object.tilda_content.get_js_list %}
        <script src="{{ js }}"></script>
    {% endfor %}


  • English
  • Русский

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-tilda, version 1.0.9
Filename, size File type Python version Upload date Hashes
Filename, size django-tilda-1.0.9.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page