検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 168 for path (0.048 sec.)
はじめての Django アプリ作成、その 1 — Django 4.0.6 ドキュメント 6508
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... てください: polls/urls.py ¶ from django.urls import path from . import views urlpatterns = [ path ( '' , vi ... rib import admin from django.urls import include , path urlpatterns = [ path ( 'polls/' , include ( 'polls ... .urls' )), path ( 'admin/' , admin . site . urls ), ] include() 関 ... t:8000/polls /移動していることを確認してください。 path() 関数は4つの引数を受け取ります。引数のうち route ...
https://man.plustar.jp/django/intro/tutorial01.html - [similar]
アプリケーション — Django 4.0.6 ドキュメント 6440
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... てください。 When INSTALLED_APPS contains the dotted path to an application module, by default, if Django fi ... ternatively, INSTALLED_APPS may contain the dotted path to a configuration class to specify it explicitly: ... n, they must replace 'rock_n_roll' with the dotted path to that specific class in their INSTALLED_APPS set ... hem automatically when INSTALLED_APPS contains the path to an application module rather than the path to a ...
https://man.plustar.jp/django/ref/applications.html - [similar]
はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 6395
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... u're voting on question %s ." % question_id ) 次の path() コールを追加して、新しいviewを polls.urls モジュ ... びつけます。 polls/urls.py ¶ from django.urls import path from . import views urlpatterns = [ # ex: /polls/ ... views . index , name = 'index' ), # ex: /polls/5/ path ( '<int:question_id>/' , views . detail , name = ' ... detail' ), # ex: /polls/5/results/ path ( '<int:question_id>/results/' , views . results , ...
https://man.plustar.jp/django/intro/tutorial03.html - [similar]
django.core.files.images — Django 4.0.6 ドキュメント 6327
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... imensions_cache def get_image_dimensions ( file_or_path , close = False ): """ Return the (width, height) ... of an image, given an open file or a path. Set 'close' to True to close the file at the end ... = PillowImageFile . Parser () if hasattr ( file_or_path , "read" ): file = file_or_path file_pos = file . ... le . seek ( 0 ) else : try : file = open ( file_or_path , "rb" ) except OSError : return ( None , None ) c ...
https://man.plustar.jp/django/_modules/django/core/files/images.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 6327
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ドに渡されます。 If you specify a string value or a Path , it may contain strftime() formatting, which will ... e string value will be appended to your MEDIA_ROOT path to form the location on the local filesystem where ... function. This will be called to obtain the upload path, including the filename. This callable must accept ... two arguments and return a Unix-style path (with forward slashes) to be passed along to the s ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
Built-in Views — Django 4.0.6 ドキュメント 6327
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g files in development ¶ static. serve ( request , path , document_root , show_indexes = False ) ¶ There m ... go.conf import settings from django.urls import re_path from django.views.static import serve # ... the re ... here ... if settings . DEBUG : urlpatterns += [ re_path ( r '^media/(?P<path>.*)$' , serve , { 'document_r ... . This will call the serve() view, passing in the path from the URLconf and the (required) document_root ...
https://man.plustar.jp/django/ref/views.html - [similar]
Django 1.11.18 リリースノート — Django 4.0.6 ドキュメント 6327
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ango.views.defaults.page_not_found() view. The URL path is no longer displayed in the default 404 template ... and the request_path context variable is now quoted to fix the issue fo ... r custom templates that use the path. 目次 Django 1.11.18 リリースノート CVE-2019-3498: ... スノート 関連キーワード page , default , spoofing , path , トピック , previous , up , next , could , issue ...
https://man.plustar.jp/django/releases/1.11.18.html - [similar]
How to authenticate against Django's user database from Apache — Django 4.0.6 ... 6293
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cated users to be able to view: WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/ ... id-user AuthBasicProvider wsgi WSGIAuthUserScript /path/to/mysite.com/mysite/wsgi.py </Location> The WSGIA ... guration should look like this: WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIProcessGroup %{GL ... Secret" AuthBasicProvider wsgi WSGIAuthUserScript /path/to/mysite.com/mysite/wsgi.py WSGIAuthGroupScript / ...
https://man.plustar.jp/django/howto/deployment/wsgi/apache-auth.html - [similar]
テストツール — Django 4.0.6 ドキュメント 6293
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . ページの取得時には、ドメイン全体ではなく、URL の path だけを指定することを覚えておいてください。たとえば ... ば、以下のメソッドを自由に使うことができます。 get ( path , data = None , follow = False , secure = False , ... ** extra ) ¶ 与えられた path に対して GET リクエストを作り、 Response オブジェク ... the details view, which is a good way to test code paths that use the django.http.HttpRequest.accepts() me ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
django.urls utility functions — Django 4.0.6 ドキュメント 6248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , given the following url : from news import views path ( 'archive/' , views . archive , name = 'news-arch ... e resolve() function can be used for resolving URL paths to the corresponding view functions. It has the f ... ollowing signature: resolve ( path , urlconf = None ) ¶ path is the URL path you want ... route of the matching URL pattern. For example, if path('users/<id>/', ...) is the matching pattern, route ...
https://man.plustar.jp/django/ref/urlresolvers.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT