検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 51 for pages (0.123 sec.)
django.core.paginator — Django 4.0.6 ドキュメント 14252
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e number is less than 1" )) if number > self . num_pages : if number == 1 and self . allow_empty_first_page ... number = 1 except EmptyPage : number = self . num_pages return self . page ( number ) [ドキュメント] def p ... """Return the total number of objects, across all pages.""" c = getattr ( self . object_list , "count" , N ... en ( self . object_list ) @cached_property def num_pages ( self ): """Return the total number of pages.""" ...
https://man.plustar.jp/django/_modules/django/core/paginator.html - [similar]
The flatpages app — Django 4.0.6 ドキュメント 12019
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Index | Modules « previous | up | next » The flatpages app ¶ Django comes with an optional "flatpages" ap ... itle and content. Use it for one-off, special-case pages, such as "About" or "Privacy Policy" pages, that y ... custom template. インストール ¶ To install the flatpages app, follow these steps: Install the sites framewo ... he ID of a different site. Add 'django.contrib.flatpages' to your INSTALLED_APPS setting. Then either: Add ...
https://man.plustar.jp/django/ref/contrib/flatpages.html - [similar]
Paginator — Django 4.0.6 ドキュメント 11255
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... data -- that is, data that's split across several pages, with "Previous/Next" links. These classes live in ... s, per_page=10 , and orphans=3 , there will be two pages; the first page with 10 items and the second (and ... th 13 items. orphans defaults to zero, which means pages are never combined and the last page may have one ... ides of the current page number when Paginator.num_pages is large. The number of pages to include on each s ...
https://man.plustar.jp/django/ref/paginator.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 10101
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... data -- that is, data that's split across several pages, with "Previous/Next" links. The Paginator class ¶ ... inator ( objects , 2 ) >>> p . count 4 >>> p . num_pages 2 >>> type ( p . page_range ) <class 'range_iterat ... page2 . has_previous () True >>> page2 . has_other_pages () True >>> page2 . next_page_number () Traceback ... context . To allow your users to navigate between pages, add links to the next and previous page, in your ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
PostgreSQL specific query expressions — Django 4.0.6 ドキュメント 9711
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... values ( ... json = JSONObject ( title = 'title' , pages = 'pages' ) ... ) >>> author = Author . objects . ... first () >>> author . books [{'title': 'Solaris', 'pages': 204}, {'title': 'The Cyberiad', 'pages': 295}] 目 ...
https://man.plustar.jp/django/ref/contrib/postgres/expressions.html - [similar]
PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 9711
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... BrinIndex ( * expressions , autosummarize = None , pages_per_range = None , ** options ) ¶ Creates a BRIN i ... c summarization to be performed by autovacuum. The pages_per_range argument takes a positive integer. Chang ... fillfactor parameter to tune how packed the index pages will be. PostgreSQL's default is 90. Changed in Dj ... fillfactor parameter to tune how packed the index pages will be. PostgreSQL's default is 90. Changed in Dj ...
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 8257
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cache : return the cached page else : generate the page save the generated page in the cache ( for next tim ... h a robust cache system that lets you save dynamic pages so they don't have to be calculated for each reque ... E_MIDDLEWARE_SECONDS -- The number of seconds each page should be cached. CACHE_MIDDLEWARE_KEY_PREFIX -- If ... erent query parameters are considered to be unique pages and are cached separately. This middleware expects ...
https://man.plustar.jp/django/topics/cache.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 7793
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rming an action: Actions that provide intermediate pages ¶ By default, after an action is performed the use ... ore complex ones, will need to return intermediate pages. For example, the built-in delete action asks for ... vide complex interaction logic on the intermediary pages. For example, if you wanted to provide a more comp ... delAdmin methods Actions that provide intermediate pages Making actions available site-wide Disabling actio ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 7643
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t tells search-engine indexers how frequently your pages change and how "important" certain pages are in re ... lation to other pages on your site. This information helps search engine ... ers to index views which are neither object detail pages nor flatpages. The solution is to explicitly list ... sitemap.xml file that references both sitemap-flatpages.xml and sitemap-blog.xml . The Sitemap classes and ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
アグリゲーション — Django 4.0.6 ドキュメント 7643
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ): name = models . CharField ( max_length = 300 ) pages = models . IntegerField () price = models . Decima ... てください): >>> Author . objects . annotate ( total_pages = Sum ( 'book__pages' )) ( QuerySet に含まれる Aut ... hor は total_pages 属性を持ちます。別名が指定されなければ、 book__pag ...
https://man.plustar.jp/django/topics/db/aggregation.html - [similar]
PREV 1 2 3 4 5 6 NEXT