Template model.
Project description
django-template-model
Description
This application will allow you to store odt
, docx
or html
templates in
your database. You will be able to manipulate them through a view set, enriched
with an additional route to download the template.
Setup
Edit your settings file as follows:
INSTALLED_APPS = [
...
template_model,
]
Then your urls file:
urlpatterns = [
...
path('...', include('template_model.urls')),
]
Routes
.../document-template/
(name:template-list
, methods:['get', 'post']
).../document-template/{pk}/
(name:template-detail
, methods:['get', 'update', 'patch', 'delete']
).../document-template/{pk}/content/
(name:template-content
, methods:['get']
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-template-model-0.0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30172c58aa823fcdb1ee73ee0cdd730f5779930a912310e1c4c24ea5856d0797 |
|
MD5 | 3f9c54cfca1043499a969b45131c378e |
|
BLAKE2b-256 | 5e50d471210ed9e82ee93ee969f3a7465e842efe7f70de8705abac312181b234 |
Close
Hashes for django_template_model-0.0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f60cfe36498fee8b23a5b933bc8607f7a6398656de91358a6e466059c8189b04 |
|
MD5 | 8481beebc0e9dee30b300f5d124eeef6 |
|
BLAKE2b-256 | 5b16836ece8b7d03477ce2d408c944a47f99f76ca00e73cff14f0c983faa9c2f |