検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 168 for path (0.032 sec.)
The syndication feed framework — Django 4.0.6 ドキュメント 5387
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... our URLconf . For example: from django.urls import path from myproject.feeds import LatestEntriesFeed urlp ... atterns = [ # ... path ( 'latest/feed/' , LatestEntriesFeed ()), # ... ] ... ption, Django templates can be used instead. Their paths can be specified with the title_template and desc ... These can be matched with a URLconf line such as: path ( 'beats/<int:beat_id>/rss/' , BeatFeed ()), Like ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 5387
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nnermost decorator). View needs protection for one path ¶ A view needs CSRF protection under one set of co ... he whole view function, and csrf_protect() for the path within it that needs protection. Example: from dja ... f my_view ( request ): @csrf_protect def protected_path ( request ): do_something () if some_condition (): ... return protected_path ( request ) else : do_something_else () Page uses ...
https://man.plustar.jp/django/ref/csrf.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 5387
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of one of your template engines. To generate that path: import django django . __path__ [ 0 ] + '/forms/t ... t templates are stored in the django/forms/widgets path. You can provide a custom template for input.html ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Django 3.2.5 release notes — Django 4.0.6 ドキュメント 5353
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... uld bypass intended column reference validation in path marked for deprecation resulting in a potential SQ ... s not present in the main branch as the deprecated path has been removed. Bugfixes ¶ Fixed a regression in ...
https://man.plustar.jp/django/releases/3.2.5.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 5353
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _file__ def setUp ( self ): self . filename = os . path . join ( temp_storage_dir , 'my_file.png' ) self . ... move ( self . filename ) self . assertFalse ( os . path . exists ( self . filename )) class ResizeImageTes ... o be run. A test label can take one of four forms: path.to.test_module.TestCase.test_method -- Run a singl ... e test method in a test case. path.to.test_module.TestCase -- Run all the test method ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
django.core.validators — Django 4.0.6 ドキュメント 5319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ード import ipaddress import re import warnings from pathlib import Path from urllib.parse import urlsplit , ... :\d{1,5})?" # port r "(?:[/?#][^\s]*)?" # resource path r "\Z" , re . IGNORECASE , ) message = _ ( "Enter ... ible IDN domain if value : try : scheme , netloc , path , query , fragment = urlsplit ( value ) except Val ... part raise e url = urlunsplit (( scheme , netloc , path , query , fragment )) super () . __call__ ( url ) ...
https://man.plustar.jp/django/_modules/django/core/validators.html - [similar]
GEOS API — Django 4.0.6 ドキュメント 5319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ib.gis.geos import fromfile >>> pnt = fromfile ( '/path/to/pnt.wkt' ) >>> pnt = fromfile ( open ( '/path/t ... パラメータ: file_h (a Python file object or a string path to the file) -- input file that contains spatial d ... IS documentation at Ch. 4.1.2. 設定 ¶ GEOS_LIBRARY_PATH ¶ A string specifying the location of the GEOS C l ... /libgeos_c.so ). 注釈 The setting must be the full path to the C shared library; in other words you want t ...
https://man.plustar.jp/django/ref/contrib/gis/geos.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 5319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... This ensures there is a consistent way to combine paths in templates. Project settings which provide eith ... ions shipped with applications by using the LOCALE_PATHS setting whose translations have now higher preced ... sted in this setting has also been modified so the paths listed first have higher precedence than the ones ... ns is intermediate between applications and LOCALE_PATHS translations). See the corresponding deprecated f ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 5319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... トをリレーします。 # urls.py from django.urls import path from myapp.views import MyView urlpatterns = [ pat ... ーワード引数として指定する方法です。 urlpatterns = [ path ( 'about/' , GreetingView . as_view ( greeting = " ... teView from .views import VoteView urlpatterns = [ path ( 'about/' , login_required ( TemplateView . as_vi ... ew ( template_name = "secret.html" ))), path ( 'vote/' , permission_required ( 'polls.can_vote' ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 5319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... null does not violate null=False . Key, index, and path transforms ¶ To query based on a given dictionary ... ]> Multiple keys can be chained together to form a path lookup: >>> Dog . objects . filter ( data__owner__ ... e implicitly use the exact lookup. Key, index, and path transforms can also be chained with: icontains , e ... and key lookups . 注釈 Due to the way in which key-path queries work, exclude() and filter() are not guara ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]