Skip to main content

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


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)

Uploaded Source

File details

Details for the file assets_angular-0.1.0.tar.gz.

File metadata

File hashes

Hashes for assets_angular-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cf54e4f1f0e5f8fdd6b9e2d652c140647ce6ae236510fcc4948c0e1846ca390e
MD5 8c198a4b75d44b79dbd89756c96a049a
BLAKE2b-256 0b5d70af16976d1d94ac5aaa977c72ab3eac9a2126be5b907419c551c0a3edbf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page