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 hashes)

Uploaded Source

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