Results of 31 - 40 of about 150 for Views (0.070 sec.)
- クラスベースビュー — Django 4.0.6 ドキュメント 6137
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ができます: from django.urls import path from django.views.generic import TemplateView urlpatterns = [ path ( ...
ート名をオーバーライドすることができます: # some_app/views.py from django.views.generic import TemplateView c ...
urls.py from django.urls import path from some_app.views import AboutView urlpatterns = [ path ( 'about/' , ...
法の詳細については、次のトピック generic class-based views を参照してください。 その他の HTTP メソッドをサポー ...
-
https://man.plustar.jp/django/topics/class-based-views/index.html
- [similar]
- django.urls utility functions — Django 4.0.6 ドキュメント 6102
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
xample, given the following url : from news import views path ( 'archive/' , views . archive , name = 'news ...
s discouraged because you can't reverse namespaced views this way.) from news import views reverse ( views ...
hing against incoming URLs and sending them off to views, but you cannot reverse such patterns. The current ...
-
https://man.plustar.jp/django/ref/urlresolvers.html
- [similar]
- Django 0.96 リリースノート — Django 4.0.6 ドキュメント 6102
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ed for data (and sqlcustom for other custom SQL -- views, stored procedures, etc.). The vestigial install c ...
ns = patterns ( '' , ( '^myview/$' , 'mysite.myapp.views.myview' ) ) can now be rewritten as: from django.c ...
onf.urls.defaults import * from mysite.myapp.views import myview urlpatterns = patterns ( '' , ( '^my ...
ors; this change allows you to apply decorators to views in your URLconf . Thus, you can make a generic vie ...
-
https://man.plustar.jp/django/releases/0.96.html
- [similar]
- Django 3.1 release notes — Django 4.0.6 ドキュメント 6067
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ch series. What's new in Django 3.1 ¶ Asynchronous views and middleware support ¶ Django now supports a ful ...
asynchronous request path, including: Asynchronous views Asynchronous middleware Asynchronous tests and tes ...
t client To get started with async views, you need to declare a view using async def : asyn ...
documentation. You are free to mix async and sync views, middleware, and tests as much as you want. Django ...
-
https://man.plustar.jp/django/releases/3.1.html
- [similar]
- Simple mixins — Django 4.0.6 ドキュメント 5973
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
next » Simple mixins ¶ ContextMixin ¶ class django.views.generic.base. ContextMixin ¶ 属性 extra_context ¶ ...
context in as_view() . Example usage: from django.views.generic import TemplateView TemplateView . as_view ...
xt The template context of all class-based generic views include a view variable that points to the View in ...
ate context . TemplateResponseMixin ¶ class django.views.generic.base. TemplateResponseMixin ¶ Provides a m ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html
- [similar]
- メッセージフレームワーク — Django 4.0.6 ドキュメント 5938
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
for other reasons. Adding messages in class-based views ¶ class views. SuccessMessageMixin ¶ Adds a succes ...
e form which is used for string formatting Example views.py : from django.contrib.messages.views import Suc ...
cessMessageMixin from django.views.generic.edit import CreateView from myapp.models i ...
override the get_success_message() method. Example views.py for ModelForms : from django.contrib.messages.v ...
-
https://man.plustar.jp/django/ref/contrib/messages.html
- [similar]
- Django 1.10 リリースノート — Django 4.0.6 ドキュメント 5938
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ていた場合、各 admin ページの上部にあるデフォルトの "View site" リンクへの URL として、 / の代わりにこの値を使 ...
change the default value. The django.contrib.auth.views.logout() view sends "no-cache" headers to prevent ...
g controls the redirect of the django.contrib.auth.views.logout() view, if the view doesn't get a next_page ...
ticated_user parameter for the django.contrib.auth.views.login() view allows redirecting authenticated user ...
-
https://man.plustar.jp/django/releases/1.10.html
- [similar]
- Django 1.4.18 release notes — Django 4.0.6 ドキュメント 5915
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
user input in some cases (e.g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on ...
ipt there. Denial-of-service attack against django.views.static.serve ¶ In older versions of Django, the dj ...
ango.views.static.serve() view read the files it served one l ...
irect URLs Denial-of-service attack against django.views.static.serve Bugfixes 前のトピックへ Django 1.4.19 ...
-
https://man.plustar.jp/django/releases/1.4.18.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 5915
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ith proxy models. New view variable in class-based views context ¶ In all generic class-based views (or any ...
between time zones. See localtime() . The generic views support OPTIONS requests. Management commands do n ...
bstract class. Context in year archive class-based views ¶ For consistency with the other date-based generi ...
c views, YearArchiveView now passes year in the context as ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- Django 1.6.10 release notes — Django 4.0.6 ドキュメント 5915
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
user input in some cases (e.g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on ...
ipt there. Denial-of-service attack against django.views.static.serve ¶ In older versions of Django, the dj ...
ango.views.static.serve() view read the files it served one l ...
irect URLs Denial-of-service attack against django.views.static.serve Database denial-of-service with Model ...
-
https://man.plustar.jp/django/releases/1.6.10.html
- [similar]