検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 146 for instance (0.083 sec.)
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 5889
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y per type of object, but also per specific object instance. By using the has_view_permission() , has_add_perm ... ible to customize permissions for different object instances of the same type. User オブジェクトは 2 つの多対多 ... ( 'myapp.change_blogpost' ) # False # Request new instance of User # Be aware that user.refresh_from_db() won ... e site framework installed, this will be set to an instance of RequestSite , which derives the site name and d ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 5889
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . POST , request . FILES ) if form . is_valid (): instance = ModelWithFileField ( file_field = request . FILE ... S [ 'file' ]) instance . save () return HttpResponseRedirect ( '/success/ ... le ( b 'Hello world!' , name = 'hello-world.txt' ) instance = ModelWithFileField ( file_field = content_file ) ... instance . save () 複数のファイルをアップロードする ¶ 1 つの ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 5889
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... equestFactory provides a way to generate a request instance that can be used as the first argument to any view ... p_secret' ) def test_details ( self ): # Create an instance of a GET request. request = self . factory . get ( ... user by setting request.user to # an AnonymousUser instance. request . user = AnonymousUser () # Test my_view( ... only difference being that it returns ASGIRequest instances rather than WSGIRequest instances. All of its met ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
Django 1.7.3 release notes — Django 4.0.6 ドキュメント 5807
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dashes to underscores, and prepending HTTP_ . For instance, a header X-Auth-User would become HTTP_X_AUTH_USE ... a header is used in a security-sensitive way (for instance, passing authentication information along from a f ...
https://man.plustar.jp/django/releases/1.7.3.html - [similar]
タイムゾーン — Django 4.0.6 ドキュメント 5807
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... aware datetime objects isn't always intuitive. For instance, the tzinfo argument of the standard datetime cons ... your application connects to other systems -- for instance, if it queries a web service -- make sure datetime ... 能性が高いです: a datetime provided by Django -- for instance, a value read from a form or a model field. Since ... u should avoid converting a datetime to date . For instance, you can use the date template filter to only show ...
https://man.plustar.jp/django/topics/i18n/timezones.html - [similar]
django.core.exceptions — Django 4.0.6 ドキュメント 5736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... as an "error" can be either a simple string or an instance of ValidationError with its message attribute set, ... dictionary can be an actual `list` or `dict` or an instance of ValidationError with its `error_list` or `error ... per () . __init__ ( message , code , params ) if isinstance ( message , ValidationError ): if hasattr ( messag ... . message , message . code , message . params if isinstance ( message , dict ): self . error_dict = {} for fie ...
https://man.plustar.jp/django/_modules/django/core/exceptions.html - [similar]
File オブジェクト — Django 4.0.6 ドキュメント 5736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = True ) Note that the content argument must be an instance of either File or of a subclass of File , such as ... ( save = True ) ¶ Removes the file from the model instance and deletes the underlying file. If save is True , ...
https://man.plustar.jp/django/ref/files/file.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 5736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y with the following values: formset : The formset instance. Context available in form templates ¶ New in Djan ... idgets add further information to the context. For instance, all widgets that subclass Input defines widget['t ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 5736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ibute of RangeField is now a type of field, not an instance of a field. If you have created a custom subclass ... _default_manager attributes are removed from model instances. They remain accessible on the model class. Acces ... sing a deleted field on a model instance, e.g. after del obj.field , reloads the field's va ... lters() method. This method must accept a QuerySet instance as its single argument and return a filtered versi ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
Django 1.2.5 release notes — Django 4.0.6 ドキュメント 5736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s files ¶ In earlier Django versions, when a model instance containing a FileField was deleted, FileField took ... aned files, you'll need to handle it yourself (for instance, with a custom management command that can be run ...
https://man.plustar.jp/django/releases/1.2.5.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 NEXT