Skip to content
Browse files

update docs

  • Loading branch information...
1 parent 0fd8820 commit 7b92ebc05ef540cef56ebb63a821e20ba58eb903 @toast38coza committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 README.mkd
8 README.mkd
@@ -13,6 +13,12 @@ Additionally, this package allows you to create AJAX endpoints for manipulating
There are no models associated with this package so you don't need to worry about syncing your database or anything.
+## Settings
+You can add the following settings to `` :
+* `AJAX_MAX_PER_PAGE` (optional: defaults to 100). Sets the maximum number of objects that can be returned per page using the built-in `list` method on a `ModelEndpoint`
# Usage
You can use this package to create ad-hoc AJAX endpoints or by exposing your Django applications's models via AJAX.
@@ -176,7 +182,7 @@ You can limit methods that are allowed on your `ModelEndpoint` by decorating you
class CategoryEndpoint(ajax.endpoints.ModelEndpoint):
- @allowed_methods(['get','update','list'])
+ @allowed_methods('get','update','list')
def authenticate(self,request):

0 comments on commit 7b92ebc

Please sign in to comment.
Something went wrong with that request. Please try again.