Merge pull request #28 from amrael/django18_2
[django-pagination.git] / linaro_django_pagination / settings.py
index ff74fd3..24a04e0 100644 (file)
@@ -52,3 +52,5 @@ DISPLAY_DISABLED_PREVIOUS_LINK = getattr(
     settings, 'PAGINATION_DISPLAY_DISABLED_PREVIOUS_LINK', False)
 DISPLAY_DISABLED_NEXT_LINK = getattr(
     settings, 'PAGINATION_DISPLAY_DISABLED_NEXT_LINK', False)
+DISABLE_LINK_FOR_FIRST_PAGE = getattr(
+    settings, 'PAGINATION_DISABLE_LINK_FOR_FIRST_PAGE', True)