検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 38 for item (0.023 sec.)
The syndication feed framework — Django 4.0.6 ドキュメント 16510
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... news site describes a feed of the latest five news items: from django.contrib.syndication.views import Fee ... s import reverse from policebeat.models import NewsItem class LatestEntriesFeed ( Feed ): title = "Police ... changes and additions to police beat central." def items ( self ): return NewsItem . objects . order_by ( ... '-pub_date' )[: 5 ] def item_title ( self , item ): return item . title def ite ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
Geographic Feeds — Django 4.0.6 ドキュメント 11038
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d ): # First, as a class attribute. geometry = ... item_geometry = ... # Also a function with no arguments ... def geometry ( self ): ... def item_geometry ( self ): ... # And as a function with a ... ngle argument def geometry ( self , obj ): ... def item_geometry ( self , item ): ... geometry ( obj ) ¶ T ... bj . poly . extent # tuple like: (X0, Y0, X1, Y1). item_geometry ( item ) ¶ Set this to return the geometr ...
https://man.plustar.jp/django/ref/contrib/gis/feeds.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 8632
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing." , ... language = "en" , ... ) >>> feed . add_item ( ... title = "Hello" , ... link = "http://www.hol ... ories , which should be a sequence of strings. add_item ( title , link , description , author_email = None ... ents = None , unique_id = None , categories = () , item_copyright = None , ttl = None , updateddate = None ... , enclosures = None , ** kwargs ) ¶ Adds an item to the feed. All args are expected to be strings e ...
https://man.plustar.jp/django/ref/utils.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 8538
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ts | Index | Modules « previous | up | next » The sitemap framework ¶ Django comes with a high-level sitem ... ap-generating framework to create sitemap XML files. オーバービュー ¶ A sitemap is an XML ... helps search engines index your site. The Django sitemap framework automates the creation of this XML fil ... like Django's syndication framework . To create a sitemap, write a Sitemap class and point to it in your U ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
django.utils.encoding — Django 4.0.6 ドキュメント 8317
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... append = parts . append hextobyte = _hextobyte for item in bits [ 1 :]: hex = item [: 2 ] if hex in hextob ... yte : append ( hextobyte [ item [: 2 ]]) append ( item [ 2 :]) else : append ( b " ... %" ) append ( item ) iri = b "" . join ( parts ) return repercent_bro ...
https://man.plustar.jp/django/_modules/django/utils/encoding.html - [similar]
django.utils.http — Django 4.0.6 ドキュメント 8317
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : query = query . lists () elif hasattr ( query , "items" ): query = query . items () query_params = [] fo ... s://bugs.python.org/issue31706. query_val = [] for item in itr : if item is None : raise TypeError ( "Cann ... " "omit the value?" % key ) elif not isinstance ( item , bytes ): item = str ( item ) query_val . append ... ( item ) query_params . append (( key , query_val )) retu ...
https://man.plustar.jp/django/_modules/django/utils/http.html - [similar]
django.contrib.postgres.validators — Django 4.0.6 ドキュメント 7893
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ge = ngettext_lazy ( "List contains %(show_value)d item, it should contain no more than " " %(limit_value) ... d ." , "List contains %(show_value)d items, it should contain no more than " " %(limit_value ... ge = ngettext_lazy ( "List contains %(show_value)d item, it should contain no fewer than " " %(limit_value ... )d ." , "List contains %(show_value)d items, it should contain no fewer than " " %(limit_valu ...
https://man.plustar.jp/django/_modules/django/contrib/postgres/validators.html - [similar]
Signals — Django 4.0.6 ドキュメント 7799
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lan. A plan is a list of two-tuples with the first item being the instance of a migration class and the se ... cond item showing if the migration was rolled back ( True ) ... lan. A plan is a list of two-tuples with the first item being the instance of a migration class and the se ... cond item showing if the migration was rolled back ( True ) ...
https://man.plustar.jp/django/ref/signals.html - [similar]
django.utils.functional — Django 4.0.6 ドキュメント 7704
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ash ) # List/Tuple/Dictionary methods support __getitem__ = new_method_proxy ( operator . getitem ) __seti ... tem__ = new_method_proxy ( operator . setitem ) __delitem__ = new_method_proxy ( operator . deli ... e(5)) [0, 1, 2, 3], [4] """ results = ([], []) for item in values : results [ predicate ( item )] . append ... ( item ) return results クイック検索 Last update: 2022年6 ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 7704
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ve Paginator a list of objects, plus the number of items you'd like to have on each page, and it gives you ... methods for accessing the items for each page: >>> from django.core.paginator imp ... . start_index () # The 1-based index of the first item on this page 3 >>> page2 . end_index () # The 1-ba ... sed index of the last item on this page 4 >>> p . page ( 0 ) Traceback (most ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
PREV 1 2 3 4 NEXT