per page, with , order by , clip by
Results of 1 - 10 of about 68 for Section (0.002 sec.)
URLconf で使用するための django.urls 関数 12154
URLconf で使用するための django.urls 関数 path() path ( route , view , kwargs = None , name = None ) urlpatterns に含める要素を返します。例えば: from django.urls import include , path urlpatterns = [ path ( "index/" , views . index , name = ... "bio" ), path ( "articles/<slug:title>/" , views . article , name = "article-detail" ), path ( "articles/<slug:title>/<int:section>/" , views . section , name = "article-section" ), path ( "blog/" , include ( "blog.urls" )), ... , ] route The route argu ... it as a keyword argument to the view. The angle brackets may include a converter specification (like the int part of <int:section> ) which limits the characters matched and may also change the type of the variable passed to the view. For example, <int: ...
https://man.mtool.work/django/6.1/ref/urls.html
サイトマップ・フレームワーク 9928
サイトマップ・フレームワーク Djangoには、 sitemap XML ファイルを作成するための高レベルなサイトマップ生成フレームワークが付属しています。 概要 サイトマップとは、検索エンジンのインデクサーに、ページの変更頻度や、あるページがサイト内の他のペー ... プレートローダーがデフォルトのテンプレートを見つけられるようにするためです)。 初期設定 views. sitemap ( request , sitemaps , section = None , template_name = 'sitemap.xml' , content_type = 'application/xml' ) Django サイトでサイトマップの生成を有効にするに ... ib.sitemaps.views.index() と django.contrib.sitemaps.views.sitemap() 。 django.contrib.sitemaps.views.sitemap() ビューは、 section キーワード引数を受け取るべきです。 上記の例に対する関連するURLconfの行は、次のようになります: from django.contrib.sitemaps ... temap.xml" , views . index , { "sitemaps" : sitemaps }, name = "django.contrib.sitemaps.views.index" , ), path ( "sitemap-<section>.xml" , views . sitemap , { "sitemaps" : sitemaps }, name = "django.contrib.sitemaps.views.sitemap" , ), ] これにより、自動 ...
https://man.mtool.work/django/6.1/ref/contrib/sitemaps.html
Django テンプレート言語 9928
Django テンプレート言語 このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡張するかを知りたい場合は、 Python プログラマーのための Django テンプレート言語 を参照してくださ ... 小限のテンプレートです。各要素については、この文書の後半で説明します。 {% extends "base_generic.html" %} {% block title %}{{ section.title }}{% endblock %} {% block content %} < h1 > {{ section.title }} </ h1 > {% for story in story_list %} < h2 > < a hre ... ト値が返されてしまいます。このような場合は、先にオブジェクトを通常の辞書に変換することを検討してください。 上記の例では、 {{ section.title }} は section オブジェクトの title 属性と置き換えられます。 存在しない変数を使用すると、テンプレートシステムは strin ... ずに、コンテンツを追加したい場合に有用です。 {{ block.super }} を使って挿入されたデータは自動的にエスケープされません ( next section を参照してください)。これは、必要な場合は親テンプレートですでにエスケープされているからです。 継承元と同じテンプレート名を ...
https://man.mtool.work/django/6.1/ref/templates/language.html
GeoDjango モデル API 9658
GeoDjango モデル API This document explores the details of the GeoDjango Model API. Throughout this section, we'll be using the following geographic model of a ZIP code and of a Digital Elevation Model as our examples: from django.contrib.g ... ue , this option will create a database column of type geography, rather than geometry. Please refer to the geography type section below for more details. 注釈 ジオグラフィのサポートは PostGIS に限定され、SRID が 4326 に強制されます。 max_geom_collectio ... eld" , PointField ())) . filter ( geom__within = poly ) For more information, the PostGIS documentation contains a helpful section on determining when to use geography data type over geometry data type . 脚注 [ 1 ] OpenGIS Consortium, Inc., Simple Featu ...
https://man.mtool.work/django/6.1/ref/contrib/gis/model-api.html
Django 1.10.8 リリースノート 9658
Django 1.10.8 リリースノート September 5, 2017 Django 1.10.8 fixes a security issue in 1.10.7. CVE-2017-12794: Possible XSS in traceback section of technical 500 debug page In older versions, HTML autoescaping was disabled in a portion of t ...
https://man.mtool.work/django/6.1/releases/1.10.8.html
Porting your apps from Django 0.96 to 1.0 9105
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... .0. If after going through the first part your code still breaks, check the section Less-common Changes for a list of a bunch of less-common compatibility issues. 参考 1.0 リリースノート です。このドキュメン ... 説明しています。移植ガイドは、あなたのコードを素早く更新するための手助けをすることに重点を置いています。 Common changes This section describes the changes between 0.96 and 1.0 that most users will need to make. Use Unicode Change string literals ( 'foo' ) ... is handled differently by the admin interface now. You don't have to worry about inline editing until you get to the admin section, below. For now, remove all references to core . Replace class Admin: with admin.py Remove all your inner class Admin decl ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 1.11.27 リリースノート 9105
Django 1.11.27 リリースノート December 18, 2019 Django 1.11.27 fixes a security issue and a data loss bug in 1.11.26. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use ... g the stricter, recommended algorithm for case-insensitive comparison of two identifiers from Unicode Technical Report 36, section 2.11.2(B)(2) . Upon a match, the email containing the reset token will be sent to the email address on record rather than ...
https://man.mtool.work/django/6.1/releases/1.11.27.html
Django 2.2.9 リリースノート 9105
Django 2.2.9 リリースノート December 18, 2019 Django 2.2.9 fixes a security issue and a data loss bug in 2.2.8. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use of Un ... g the stricter, recommended algorithm for case-insensitive comparison of two identifiers from Unicode Technical Report 36, section 2.11.2(B)(2) . Upon a match, the email containing the reset token will be sent to the email address on record rather than ...
https://man.mtool.work/django/6.1/releases/2.2.9.html
Sprint quickstart guide 8821
Sprint quickstart guide This document explains how to prepare to contribute to Django. It is intended for use during sprints, or by people who are already familiar with contributing to Python open source projects. This guide assumes you're ... bat html && cd .. Finding a ticket to work on Finding a workable ticket is a challenging task. It's important to read this section before attempting to do so. Assessing tickets When looking over tickets, it's a good idea to keep your search to accepted ... by clicking the "Modify Ticket" button near the bottom of the page, selecting the "assign to" radio button in the "Action" section, and clicking "Submit changes". Your username will be filled in the text box by default. See "Claiming" tickets for the fu ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
Contributing code 8821
Contributing code So you'd like to write some code, documentation or tests to improve Django? There are several ways you can help Django's development. Tutorials The Django tutorial contains a whole section that walks you step-by-step throu ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/
PREV 1 2 3 4 5 6 7 NEXT