=====
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.
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.
Release files for templado 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| templado-0.6.0.tar.gz | 514.3 kB | Details |
Release files / templado-0.6.0.tar.gz
| Download URL | templado-0.6.0.tar.gz |
|---|---|
| Size | 514.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da4c6d207388da2fc11b17f831951bd3be2cebb4b04c47798a9de37805c5b3c7
|
|
BLAKE2b-256 checksum How to use checksums |
b9b9ba3836b824eafb4c062758145df998d869b296acabf1d3db5dcc7e5ea3d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |