diff --git a/docs/quickstart.rst b/docs/quickstart.rst index df46fd5..1cdcd92 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -4,15 +4,15 @@ Quick start Requirements ............ -- Django 1.11 +- Django 1.11 or 2.0 - Python 2.7, 3.4, 3.5 or 3.6 - a cache configured as ``'default'`` with one of these backends: - `django-redis `_ - - `memcached `_ + - `memcached `_ (using either python-memcached or pylibmc) - - `filebased `_ - - `locmem `_ + - `filebased `_ + - `locmem `_ (but it’s not shared between processes, see :ref:`locmem limits `) - one of these databases: @@ -67,7 +67,7 @@ Settings change this setting, you end up on a cache that may contain stale data. .. |CACHES| replace:: ``CACHES`` -.. _CACHES: https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES +.. _CACHES: https://docs.djangoproject.com/en/2.0/ref/settings/#std:setting-CACHES ``CACHALOT_DATABASES`` ~~~~~~~~~~~~~~~~~~~~~~ @@ -80,7 +80,7 @@ Settings engines. .. |DATABASES| replace:: ``DATABASES`` -.. _DATABASES: https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-DATABASES +.. _DATABASES: https://docs.djangoproject.com/en/2.0/ref/settings/#std:setting-DATABASES ``CACHALOT_TIMEOUT`` ~~~~~~~~~~~~~~~~~~~~ @@ -191,7 +191,7 @@ Examples: Template utils .............. -`Caching template fragments `_ +`Caching template fragments `_ can be extremely powerful to speedup a Django application. However, it often means you have to adapt your models to get a relevant cache key, typically by adding a timestamp that refers to the last modification of the object. diff --git a/requirements.txt b/requirements.txt index e97c9bd..44407ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -Django>=1.11 +Django>=1.11,<2.1 diff --git a/setup.py b/setup.py index 1405978..e69f4d9 100755 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Framework :: Django :: 1.11', + 'Framework :: Django :: 2.0', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3',