Django_assets angular template filter.
Project description
What’s that?
Is a filter for generating html templates as javascript includes in your bundles of django_assets
How to use
Add the application to your INSTALLED_APPS
INSTALLED_APPS = (
...
'assets_angular',
'django_assets',
...
)
Using it
from django_assets import Bundle, register
templates = Bundle(
'tpl/template1.html',
'tpl/template1.html',
filters='angular',
output="templates.js"
)
app_js = Bundle(
models,
controllers,
directives,
filters,
services,
templates,
filters='uglifyjs',
output='gen/app.js')
register('app', app_js)
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
assets_angular-0.1.0.tar.gz
(2.9 kB
view details)
File details
Details for the file assets_angular-0.1.0.tar.gz
.
File metadata
- Download URL: assets_angular-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf54e4f1f0e5f8fdd6b9e2d652c140647ce6ae236510fcc4948c0e1846ca390e |
|
MD5 | 8c198a4b75d44b79dbd89756c96a049a |
|
BLAKE2b-256 | 0b5d70af16976d1d94ac5aaa977c72ab3eac9a2126be5b907419c551c0a3edbf |