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']
)
Versions
0.0.1
Template
model- Admin site
- View set with an additional route to download a template
0.1.0
From now on, Template
model contains:
- a name,
- a format,
- a content,
- the date of its creation,
- the date of its last update.
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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a9da05214b2baf9202d57a57c919749e94e73c168da6ef25accf0904a9acd60 |
|
MD5 | 92b9a354e444b8815bc3bc5db6123430 |
|
BLAKE2b-256 | 0fd2ed9d2b5636f61605699666ad4e0ae66bbaf493b31114f1fe8b9f3238169a |
Close
Hashes for django_template_model-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9633204784105c28d3288190cf9e5e481cb599ac98617666c59c416af81c8ef2 |
|
MD5 | 83207bfd5739e8369e8cf9203344a1d8 |
|
BLAKE2b-256 | e02941b7c40bbec807020f9f7a606d8066b95a168c7c358294ef661ef40c713d |