Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional pagination #135

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Commits on Sep 20, 2019

  1. Import Site model only if necessary

    When not using the Django sites framework, you get a RuntimeError
    because it is not installed, even if you set DJANGO_MESSAGES_NOTIFY to
    False.
    
    This can be avoided by importing the site model only when necessary.
    izimobil committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    a15ba43 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Configuration menu
    Copy the full SHA
    9271210 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2019

  1. Optional message list pagination

    By default, message list is not paginated, but now one can enable pagination
    by setting ``DJANGO_MESSAGES_PAGE_LENGTH`` to a positive integer.
    
    Pagination is disabled if this setting variable is not defined or set to -1.
    izimobil committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    0d82d72 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Fixed broken support for django < 2.0

    Paginator.get_page() is only available in django >= 2.0, let's use
    Paginator.page() instead.
    izimobil committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    380ac59 View commit details
    Browse the repository at this point in the history