Replace django-pagination with django-pure-pagination and use Django's native CBV pagination context.

This commit is contained in:
Roberto Rosario
2015-08-15 02:28:37 -04:00
parent 016231a0f5
commit 702bac8ed2
7 changed files with 34 additions and 22 deletions

View File

@@ -17,3 +17,8 @@ setting_shared_storage = namespace.add_setting(
default='storage.backends.filebasedstorage.FileBasedStorage',
help_text=_('A storage backend that all workers can use to share files.')
)
setting_paginate_by = namespace.add_setting(
global_name='COMMON_PAGINATE_BY',
default=40,
help_text=_('An integer specifying how many objects should be displayed per page.')
)