django-staticfiles-typeaheadjs-0.9.1
توضیحات
typeahead.js meets Django staticfiles
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | django-staticfiles-typeaheadjs-0.9.1 |
| نام | django-staticfiles-typeaheadjs |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Travis Swicegood |
| ایمیل نویسنده | development@domain51.com |
| آدرس صفحه اصلی | http://github.com/tswicegood/django-staticfiles-typeaheadjs/ |
| آدرس اینترنتی | https://pypi.org/project/django-staticfiles-typeaheadjs/ |
| مجوز | UNKNOWN |
django-staticfiles-typeaheadjs
==============================
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.
.. _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/
نحوه نصب
نصب پکیج whl django-staticfiles-typeaheadjs-0.9.1:
pip install django-staticfiles-typeaheadjs-0.9.1.whl
نصب پکیج tar.gz django-staticfiles-typeaheadjs-0.9.1:
pip install django-staticfiles-typeaheadjs-0.9.1.tar.gz