Results of 11 - 20 of about 53 for URLconf (0.014 sec.)
- Django 0.96 リリースノート — Django 4.0.6 ドキュメント 8022
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
jango.newforms , read the newforms documentation . URLconf improvements ¶ You can now use any callable as the ...
callback in URLconfs (previously, only strings that referred to callab ...
e allowed). This allows a much more natural use of URLconfs. For example, this URLconf: from django.conf.urls ...
ge allows you to apply decorators to views in your URLconf . Thus, you can make a generic view require login ...
-
https://man.plustar.jp/django/releases/0.96.html
- [similar]
- Multiple object mixins — Django 4.0.6 ドキュメント 7933
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
RL 内のページ数は以下のいずれかの方法で指定します: URLconf 内で page パラメータを使用します。例えば、URLconf ...
ET を通じた) page クエリ文字列パラメータ、もしくは URLconf で page 変数が指定されることを必要とします。 pagin ...
uest.GET を通じた) クエリ文字列パラメータ、もしくはURLconf 内で指定した kwarg が有効になっていることを必要とし ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 7933
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Feed class and point to an instance of it in your URLconf . Feed classes ¶ A Feed class is a Python class th ...
f Feed classes are views which can be used in your URLconf . A simple example ¶ This simple example, taken fr ...
s feed, put an instance of the Feed object in your URLconf . For example: from django.urls import path from m ...
ork lets you access the arguments passed from your URLconf so feeds can output items based on information in ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 7829
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
/ などです。 URLからビューを得るために、Django は「URLconf」と呼ばれているものを使います。URLconf はURLパターン ...
をビューにマッピングします。 このチュートリアルでは URLconf の基本的な使い方を知ってもらいます。より詳しくは U ...
「/polls/34/」 をリクエストすると、 Django は ROOT_URLCONF に指定されている Python モジュール mysite.urls をロ ...
列である "34/" を次の処理のために 『polls.urls』 の URLconf に渡します。これは '<int:question_id>/' に一致し、 ...
-
https://man.plustar.jp/django/intro/tutorial03.html
- [similar]
- ビューを記述する — Django 4.0.6 ドキュメント 7829
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
を返します。このビューを特定の URL で表示するには、 URLconf を作成する必要があります。その方法は、 URL ディスパ ...
havior. Specify the handlers as seen below in your URLconf (setting them anywhere else will have no effect). ...
ew ), ] handler403 = response_error_handler # ROOT_URLCONF must specify the module that contains handler403 = ...
... @override_settings ( ROOT_URLCONF = __name__ ) class CustomErrorHandlerTests ( Simpl ...
-
https://man.plustar.jp/django/topics/http/views.html
- [similar]
- django.urls functions for use in URLconfs — Django 4.0.6 ドキュメント 7739
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ous | up | next » django.urls functions for use in URLconfs ¶ path() ¶ path ( route , view , kwargs = None , ...
on that takes a full Python import path to another URLconf module that should be "included" in this place. Op ...
the application namespaces. パラメータ: module -- URLconf module (or module name) namespace ( str ) -- Insta ...
espace for the URL entries being included See 他の URLconfs をインクルードする and URLの名前空間とインクルード ...
-
https://man.plustar.jp/django/ref/urls.html
- [similar]
- クラスベースビュー入門 — Django 4.0.6 ドキュメント 7739
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ew ): greeting = "Morning to ya" もう一つの方法は、URLconf 内での as_view() の呼び出し時に、クラス属性をキーワ ...
e , { 'form' : form }) これは最低限のケースですが、URLconfの設定で``form_class`` などのクラス属性をオーバーライ ...
を作成した場合では、デコレータは違った動作をします。 URLconf でデコレーションする ¶ as_view() メソッドの結果を装 ...
す。これを行う最も簡単な場所は、ビューをデプロイするURLconfです: from django.contrib.auth.decorators import log ...
-
https://man.plustar.jp/django/topics/class-based-views/intro.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7635
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ます。例えば、デフォルトの設定を利用して下記の内容を URLconf に追加してください: from django.contrib.auth impor ...
け付けます。この仕組みによって設定を更新することなく URLconf 内のログイン用ビューを再配置する事ができます。 注釈 ...
も簡単なのは、 django.contrib.auth.urls で提供される URLconf をあなた独自の URLconf に含めることです。たとえば: ...
ください。 URL をより詳細にコントロールしたい場合は、URLconf 内の特定のビューを指定することもできます: from dja ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- How to manage static files (e.g. images, JavaScript, CSS) — Django 4.0.6 ドキュ... 7352
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
port static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static ( settings . STATIC_URL , ...
this by adding the following snippet to your ROOT_URLCONF : from django.conf import settings from django.con ...
port static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static ( settings . MEDIA_URL , ...
-
https://man.plustar.jp/django/howto/static-files/index.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 7263
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
eparately. Continuing the my_view example, if your URLconf looks like this: urlpatterns = [ path ( 'foo/<int: ...
wnstream caches . Specifying per-view cache in the URLconf ¶ The examples in the previous section have hard-c ...
e problems is to specify the per-view cache in the URLconf rather than next to the view functions themselves. ...
nction with cache_page when you refer to it in the URLconf. Here's the old URLconf from earlier: urlpatterns ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]