Django 设置
Bases: BaseModel
Alter these by modifying the values in Django's settings module (usually
settings.py
).
Attributes:
Name | Type | Description |
---|---|---|
NINJA_PAGINATION_CLASS |
str
|
The pagination class to use. Defaults to
|
NINJA_PAGINATION_PER_PAGE |
int
|
The default page size. Defaults to |
NINJA_PAGINATION_MAX_LIMIT |
int
|
The maximum number of results per page. Defaults to |
Source code in ninja/conf.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
评论
本文总阅读量次