Skip to main content

typeahead.js meets Django staticfiles

Project description

typeahead.js meets Django staticfiles

Usage

This application is meant to be used with django-staticfiles. Make sure that staticfiles setup and configured, then install this application using pip:

pip install django-staticfiles-typeaheadjs

Finally, make sure that typeaheadjs is listed in your INSTALLED_APPS. You can use this oneliner to add it as well:

INSTALLED_APPS += ['typeaheadjs', ]

Build

typeahead.js uses Grunt to build and minify the JavaScript. You need to follow the instructions in vendor/typeahead.js/README.md for setting up your build environment, then run python support/build.py to update the Django application. See support/build.py for more information on how data is transferred from the submodule to the Python package.

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

django-staticfiles-typeaheadjs-0.9.1.tar.gz (19.3 kB view details)

Uploaded Source

File details

Details for the file django-staticfiles-typeaheadjs-0.9.1.tar.gz.

File metadata

File hashes

Hashes for django-staticfiles-typeaheadjs-0.9.1.tar.gz
Algorithm Hash digest
SHA256 8469b61e747aa18c409f6c22a5dc89deaa8f1575bed4891ed3076aed8263eafd
MD5 3bd9881d8a5b8542a0d8925388d7bc3b
BLAKE2b-256 5ff3eda74e7631639f66f43a39303ae5a9e4ba7f99660d91541d65758f9d151e

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