X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/1df6507872d73ee387eb375428eafbfc253dfcd8..1918a43e4b772efeddb429471742b57496d1868d:/docs/usage.txt diff --git a/docs/usage.txt b/docs/usage.txt index 9c97c51..b520169 100644 --- a/docs/usage.txt +++ b/docs/usage.txt @@ -70,6 +70,16 @@ That's it! You have now paginated ``object_list`` and given users of the site a way to navigate between the different pages--all without touching your views. +A Note About Uploads +-------------------- + +It is important, when using django-pagination in conjunction with file uploads, +to be aware of when ``request.page`` is accessed. As soon as ``request.page`` +is accessed, ``request.upload_handlers`` is frozen and cannot be altered in any +way. It's a good idea to access the ``page`` attribute on the request object +as late as possible in your views. + + Optional Settings ------------------