how to use dj_pagination in Django1.11

11 views
Skip to first unread message

李余通

unread,
Aug 3, 2017, 5:48:12 AM8/3/17
to Django users
dj_pagination say:
  1. If it’s not already added in your setup, add the request context processor. Note that context processors are set by default implicitly, so to set them explicitly, you need to copy and paste this code into your under the value TEMPLATE_CONTEXT_PROCESSORS:

    ("django.core.context_processors.auth",
    "django.core.context_processors.debug",
    "django.core.context_processors.i18n",
    "django.core.context_processors.media",
    "django.core.context_processors.request")
  2. how ever ,that is im Django 1.8-,if use Django 1.8+,how to use ? 
  3. Thank you very much !
Reply all
Reply to author
Forward
0 new messages