skoczen  committed 1f2a585

Updated docs to include JOHNNY_DATABASE_MAPPING

  • Participants
  • Parent commits 8d37c76

Comments (0)

Files changed (1)

File docs/queryset_cache.rst

 .. highlight:: python
 settings file to be understandable, you can use the alias
 ``JOHNNY_TABLE_BLACKLIST``.  We just couldn't resist.
+``JOHNNY_DATABASE_MAPPING`` is a user defined dictionary that maps database
+names to one another.  The primary use for ``JOHNNY_DATABASE_MAPPING`` is to
+assure master/slave setups that using a django router all point to the same
+cache keys.  For a typical default/slave setup this will do the job:
+		'slave': 'default', 
+	}