Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tswicegood/django-staticfiles-typeaheadjs
https://github.com/tswicegood/django-staticfiles-typeaheadjs
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tswicegood/django-staticfiles-typeaheadjs
- Owner: tswicegood
- Created: 2013-02-19T21:00:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-04T12:56:52.000Z (over 11 years ago)
- Last Synced: 2024-08-09T23:47:56.316Z (3 months ago)
- Language: JavaScript
- Size: 140 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
django-staticfiles-typeaheadjs
==============================
typeahead.js meets Django staticfilesUsage
-----
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... _django-staticfiles: https://github.com/jezdez/django-staticfiles
.. _pip: http://www.pip-installer.org/
.. _typeahead.js: http://twitter.github.com/typeahead.js/
.. _Grunt: http://gruntjs.com/