CollectTemplate
CollectTemplate is an app for Django framework, which allows you to collect different app templates to working project templates directory.
Installation
- pip install CollectTemplate
- Add CollectTemplate to settings as shown below
INSTALLED_APPS = (
...
'CollectTemplate',
...
)
Usage
| Commmand | Description |
|---|---|
| manage.py collecttemplates -h | Help |
| manage.py collecttemplates | Copy all installed apps templates |
| manage.py collecttemplates -e app1 app2 app3 | Copy all installed apps templates and exclude app1, app2 |
| manage.py collecttemplates app1,app2,app3 | Copy selected installed apps templates |
| manage.py collecttemplates -t app1/home.html | Copy template app1/home.html |
This app is inspired from Mezzanine CMS command collecttemplates
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CollectTemplate-0.1.tar.gz
(3.6 kB
view details)
File details
Details for the file CollectTemplate-0.1.tar.gz.
File metadata
- Download URL: CollectTemplate-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
762ced5d698b74ebfef168289c52d56a1444fab3c19dc7ecd88224db3ef24d6b
|
|
| MD5 |
c7c8263dc7d0e2e5e2465e3fb5babac7
|
|
| BLAKE2b-256 |
d2f38afe68165c51c45f1649f5ec0334764ed828b8a072b24dd1499d1eb921b6
|