検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 53 for obj (0.063 sec.)
セッションの使いかた — Django 4.0.6 ドキュメント 6697
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... fication value and the expiry is set as a datetime object, where you do have the modification value, it i ... zer (or convert such values to a JSON serializable object before storing them in request.session ). While ... データのディクショナリをシリアライズする dumps(self, obj) と、それをデシリアライズする loads(self, data) の ... 続きを行います。 def login ( request ): m = Member . objects . get ( username = request . POST [ 'username' ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 6653
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tions" -- functions that get called with a list of objects selected on the change list page. If you look ... re in action; Django ships with a "delete selected objects" action available to all models. For example, ... kground on bulk deletion, see the documentation on object deletion . Read on to find out how to add your ... function won't need the ModelAdmin or the request object, but we will use the queryset: def make_publish ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
Django 2.1.1 リリースノート — Django 4.0.6 ドキュメント 6653
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ModelAdmin.has_add_permission() doesn't accept the obj argument ( #29723 ). 目次 Django 2.1.1 リリースノー ...
https://man.plustar.jp/django/releases/2.1.1.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 6593
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... priority = 0.5 def items ( self ): return Entry . objects . filter ( is_draft = False ) def lastmod ( se ... lf , obj ): return obj . pub_date Note: changefreq and prio ... is a method that returns a sequence or QuerySet of objects. The objects returned will get passed to any c ... an provide it in order to specify the URL for your object. By default, location() calls get_absolute_url( ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 6593
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ccessMessageMixin . In accordance with FormMixin , object deletion for POST requests is handled in form_v ... from the template. モデル ¶ New QuerySet.contains(obj) method returns whether the queryset contains the ... given object. This tries to perform the query in the simples ... QuerySet.bulk_create() now sets the primary key on objects when using SQLite 3.35+. DurationField now sup ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 6593
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the same way as saving a normal field -- assign an object of the right type to the field in question. Thi ... log.models import Blog , Entry >>> entry = Entry . objects . get ( pk = 1 ) >>> cheese_blog = Blog . obje ... from blog.models import Author >>> joe = Author . objects . create ( name = "Joe" ) >>> entry . authors ... の引数を次の例のように含めます: >>> john = Author . objects . create ( name = "John" ) >>> paul = Author . ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 6549
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... argument to customize behavior when the referenced object is deleted. Previously, deletes were always cas ... TemplateResponse class. Unlike basic HttpResponse objects, TemplateResponse objects retain the details o ... ls for accessing and manipulating the current Site object in the sites framework . A RequestFactory for m ... . commit_manually def my_view ( request , name ): obj = get_object_or_404 ( MyObject , name__iexact = na ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
Django 1.7.2 release notes — Django 4.0.6 ドキュメント 6549
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d some ModelAdmin methods to receive the incorrect obj value ( #23934 ). Fixed runserver crash when socke ... le database setup ( #24000 ). Restored support for objects that aren't str or bytes in django.utils.safes ...
https://man.plustar.jp/django/releases/1.7.2.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 6504
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... インスタンスだと想定しています) example = MyModel . objects . get ( pk = 1 ) print ( example . hand . nort ... urn 'integer UNSIGNED' Converting values to Python objects ¶ If your custom Field class deals with data s ... and instance from these methods. That's the Python object type we want to store in the model's attribute. ... ise a ValidationError exception. Converting Python objects to query values ¶ Since using a database requi ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
Multiple object mixins — Django 4.0.6 ドキュメント 6504
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Index | Modules « previous | up | next » Multiple object mixins ¶ MultipleObjectMixin ¶ class django.vie ... ws.generic.list. MultipleObjectMixin ¶ オブジェクトのリストを表示するために使用 ... す。例えば、URLconf は以下のようになります: path ( 'objects/page<int:page>/' , PaginatedView . as_view ()) ... ジ数を渡します。例えば、URL は以下のようになります: /objects/?page=3 これらの値は (0 ベースではなく) 1 ベー ...
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html - [similar]
PREV 1 2 3 4 5 6 NEXT