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)
Metadata
Release files for assets_angular 0.1.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 | |
|---|---|---|---|
| assets_angular-0.1.0.tar.gz | 2.9 kB | Details |
Release files / assets_angular-0.1.0.tar.gz
| Download URL | assets_angular-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf54e4f1f0e5f8fdd6b9e2d652c140647ce6ae236510fcc4948c0e1846ca390e
|
|
BLAKE2b-256 checksum How to use checksums |
0b5d70af16976d1d94ac5aaa977c72ab3eac9a2126be5b907419c551c0a3edbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |