Results of 11 - 20 of about 195 for Object (0.056 sec.)
- Django のショートカット関数 — Django 4.0.6 ドキュメント 7852
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ven context dictionary and returns an HttpResponse object with that rendered text. Django does not provide a ...
ender() . Required arguments ¶ request The request object used to generate this response. template_name The ...
ct() function in a number of ways. By passing some object; that object's get_absolute_url() method will be c ...
irect def my_view ( request ): ... obj = MyModel . objects . get ( ... ) return redirect ( obj ) By passing ...
-
https://man.plustar.jp/django/topics/http/shortcuts.html
- [similar]
- Multiple object mixins — Django 4.0.6 ドキュメント 7776
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Index | Modules « previous | up | next » Multiple object mixins ¶ MultipleObjectMixin ¶ class django.views. ...
generic.list. MultipleObjectMixin ¶ オブジェクトのリストを表示するために使用する ...
す。例えば、URLconf は以下のようになります: path ( 'objects/page<int:page>/' , PaginatedView . as_view ()), p ...
ジ数を渡します。例えば、URL は以下のようになります: /objects/?page=3 これらの値は (0 ベースではなく) 1 ベースな ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html
- [similar]
- Generic display ビュー — Django 4.0.6 ドキュメント 7603
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
il. DetailView ¶ このビューが動作している間、 self.object はビューが操作しているオブジェクトを含みます。 継承 ...
を継承しています: django.views.generic.detail.SingleObjectTemplateResponseMixin django.views.generic.base.Tem ...
l.BaseDetailView django.views.generic.detail.SingleObjectMixin django.views.generic.base.View メソッドのフロ ...
mplate_names() get_slug_field() get_queryset() get_object() get_context_object_name() get_context_data() get ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-display.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 7495
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ッドラインを出力するプログラムです: for e in Entry . objects . all (): print ( e . headline ) メモ: 単に1つ以上 ...
を矯正します。たとえば: entry_list = list ( Entry . objects . all ()) bool(). Testing a QuerySet in a boolean ...
s True , otherwise False . For example: if Entry . objects . filter ( headline = "Test" ): print ( "There is ...
least one result exists (and don't need the actual objects), it's more efficient to use exists() . Pickling ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 7246
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nal "sites" framework. It's a hook for associating objects and functionality to particular websites, and it' ...
E_ID setting specifies the database ID of the Site object associated with that particular settings file. If ...
tail ( request , article_id ): try : a = Article . objects . get ( id = article_id , sites__id = get_current ...
it is not. If you don't have access to the request object, you can use the get_current() method of the Site ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- django.utils.functional — Django 4.0.6 ドキュメント 7170
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
__args , ** self . __kw ) def __str__ ( self ): # object defines __str__(), so __prepare_class__() won't ov ...
_wrapper__ ( * args , ** kw ): # Creates the proxy object, instead of the actual value. return __proxy__ ( a ...
text. """ return keep_lazy ( str )( func ) empty = object () def new_method_proxy ( func ): def inner ( self ...
self . _wrapped , * args ) return inner class LazyObject : """ A wrapper for another class that can be used ...
-
https://man.plustar.jp/django/_modules/django/utils/functional.html
- [similar]
- Generic editing ビュー — Django 4.0.6 ドキュメント 7137
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
を継承しています: django.views.generic.detail.SingleObjectTemplateResponseMixin django.views.generic.base.Tem ...
c.edit.FormMixin django.views.generic.detail.SingleObjectMixin django.views.generic.edit.ProcessFormView dja ...
me は 'myapp/author_create_form.html' となります。 object ¶ CreateView を使うとき、 self.object にアクセスで ...
t. BaseCreateView ¶ A base view for creating a new object instance. It is not intended to be used directly, ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-editing.html
- [similar]
- GEOS API — Django 4.0.6 ドキュメント 7137
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ly-coupled to GeoDjango. For example, GEOSGeometry objects may be used outside of a Django project/applicati ...
t or use a database, etc. Mutability: GEOSGeometry objects may be modified. Cross-platform and tested; compa ...
ef introduction and tutorial to using GEOSGeometry objects. Creating a Geometry ¶ GEOSGeometry objects may b ...
a few ways. The first is to simply instantiate the object on some spatial input -- the following are example ...
-
https://man.plustar.jp/django/ref/contrib/gis/geos.html
- [similar]
- リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 7029
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
してください。 HttpRequest. POST ¶ A dictionary-like object containing all given HTTP POST parameters, providi ...
文字列です。 HttpRequest. FILES ¶ A dictionary-like object containing all uploaded files. Each key in FILES i ...
. Otherwise, FILES will be a blank dictionary-like object. HttpRequest. META ¶ 利用できるすべての HTTP ヘッダ ...
tpRequest. headers ¶ A case insensitive, dict-like object that provides access to all HTTP-prefixed headers ...
-
https://man.plustar.jp/django/ref/request-response.html
- [similar]
- モデルフィールドリファレンス — Django 4.0.6 ドキュメント 6986
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
unique constraint violations when saving multiple objects with blank values. 文字列ベースと非文字列ベースの ...
してください。 Note that choices can be any sequence object -- not necessarily a list or tuple. This lets you ...
度に呼び出されます。 The default can't be a mutable object (model instance, list , set , etc.), as a referenc ...
e to the same instance of that object would be used as the default value in all new mode ...
-
https://man.plustar.jp/django/ref/models/fields.html
- [similar]