django-heroku-redisify-0.2.1


توضیحات

Friendly Redis for Django on Heroku
ویژگی مقدار
سیستم عامل OS Independent
نام فایل django-heroku-redisify-0.2.1
نام django-heroku-redisify
نسخه کتابخانه 0.2.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Andy Dirnberger
ایمیل نویسنده dirn@dirnonline.com
آدرس صفحه اصلی https://github.com/dirn/django-heroku-redisify
آدرس اینترنتی https://pypi.org/project/django-heroku-redisify/
مجوز Copyright (c) 2013, Andy Dirnberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=========================================================== django-heroku-redisify: Friendly Redis for Django on Heroku =========================================================== .. image:: https://secure.travis-ci.org/dirn/django-heroku-redisify.png?branch=master A user-friendly method to configure Django projects on Heroku to use Redis. Inspired by the work of `Randall Degges`_. .. _Randall Degges: https://github.com/rdegges Usage ===== Place this code into your project's settings.py:: from redisify import redisify CACHES = redisify(default='redis://localhost') Full documentation can be found on `Read the Docs`_. .. _Read the Docs: http://readthedocs.org/docs/django-heroku-redisify/en/latest/ Installation ============ To install the latest version of django-heroku-redisify:: $ pip install django-heroku-redisify or, if you must:: $ easy_install django-heroku-redisify To install the latest development version:: $ git clone git@github.com:dirn/django-heroku-redisify.git $ cd django-heroku-redisify $ python setup.py install Changelog ========= - 0.2.1 - Add `django-redis-cache` and `redis` as requirements. - 0.2.0 - THIS RELEASE IS NOT BACKWARDS COMPATIBLE - ``redisify()`` now returns a ``dict`` of all URLs found in the environment settings. - 0.1.0 - Initial release


نحوه نصب


نصب پکیج whl django-heroku-redisify-0.2.1:

    pip install django-heroku-redisify-0.2.1.whl


نصب پکیج tar.gz django-heroku-redisify-0.2.1:

    pip install django-heroku-redisify-0.2.1.tar.gz