Results of 11 - 20 of about 72 for args (0.046 sec.)
- django.utils.log — Django 4.0.6 ドキュメント 7918
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
メント] def send_mail ( self , subject , message , * args , ** kwargs ): mail . mail_admins ( subject , mess ...
age , * args , connection = self . connection (), ** kwargs ) d ...
at = " %d /%b/%Y %H:%M:%S" def __init__ ( self , * args , ** kwargs ): self . style = color_style () super ...
() . __init__ ( * args , ** kwargs ) def format ( self , record ): msg = ...
-
https://man.plustar.jp/django/_modules/django/utils/log.html
- [similar]
- クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 7862
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r.""" model = Author def post ( self , request , * args , ** kwargs ): if not request . user . is_authenti ...
tpResponseRedirect ( reverse ( 'author-detail' , kwargs = { 'pk' : self . object . pk })) In practice you' ...
ublisher_detail.html" def get ( self , request , * args , ** kwargs ): self . object = self . get_object ( ...
ects . all ()) return super () . get ( request , * args , ** kwargs ) def get_context_data ( self , ** kwa ...
-
https://man.plustar.jp/django/topics/class-based-views/mixins.html
- [similar]
- Django Utils — Django 4.0.6 ドキュメント 7736
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
uage header. patch_cache_control ( response , ** kwargs ) ¶ This function patches the Cache-Control header ...
ocess_response() ). decorator_from_middleware_with_args ( middleware_class ) [ソース] ¶ Like decorator_fro ...
this: cache_page = decorator_from_middleware_with_args ( CacheMiddleware ) @cache_page ( 3600 ) def my_vi ...
ight = None , feed_guid = None , ttl = None , ** kwargs ) ¶ Initialize the feed with the given dictionary ...
-
https://man.plustar.jp/django/ref/utils.html
- [similar]
- How to create custom django-admin commands — Django 4.0.6 ドキュメント 7680
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, parser ): parser . add_argument ( 'poll_ids' , nargs = '+' , type = int ) def handle ( self , * args , ...
al arguments parser . add_argument ( 'poll_ids' , nargs = '+' , type = int ) # Named (optional) arguments ...
l instead of closing it' , ) def handle ( self , * args , ** options ): # ... if options [ 'delete' ]: pol ...
mand ): ... @no_translations def handle ( self , * args , ** options ): ... 翻訳の非アクティブ化には構成設 ...
-
https://man.plustar.jp/django/howto/custom-management-commands.html
- [similar]
- mixinを編集する — Django 4.0.6 ドキュメント 7427
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
antiate an instance of form_class using get_form_kwargs() . If form_class isn't provided get_form_class() ...
will be used. get_form_kwargs () ¶ フォームのインスタンス化に必要なキーワード引数 ...
e invalid form as context. get_context_data ( ** kwargs ) ¶ Calls get_form() and adds the result to the co ...
pending on which attribute is provided. get_form_kwargs () ¶ Add the current instance ( self.object ) to t ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html
- [similar]
- django.core.paginator — Django 4.0.6 ドキュメント 7245
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rty from django.utils.inspect import method_has_no_args from django.utils.translation import gettext_lazy ...
: top ], number , self ) def _get_page ( self , * args , ** kwargs ): """ Return an instance of a single ...
e standard :cls:`Page` object. """ return Page ( * args , ** kwargs ) @cached_property def count ( self ): ...
nd not inspect . isbuiltin ( c ) and method_has_no_args ( c ): return c () return len ( self . object_list ...
-
https://man.plustar.jp/django/_modules/django/core/paginator.html
- [similar]
- GEOS API — Django 4.0.6 ドキュメント 7189
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
pnt = Point ([]) LineString ¶ class LineString ( * args , ** kwargs ) ¶ LineString objects are instantiate ...
tring is closed. LinearRing ¶ class LinearRing ( * args , ** kwargs ) ¶ LinearRing objects are constructed ...
g is counterclockwise. Polygon ¶ class Polygon ( * args , ** kwargs ) ¶ Polygon objects may be instantiate ...
ry Collections ¶ MultiPoint ¶ class MultiPoint ( * args , ** kwargs ) ¶ MultiPoint objects may be instanti ...
-
https://man.plustar.jp/django/ref/contrib/gis/geos.html
- [similar]
- django.utils.safestring — Django 4.0.6 ドキュメント 7133
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
y_marker , func ): @wraps ( func ) def wrapped ( * args , ** kwargs ): return safety_marker ( func ( * arg ...
s , ** kwargs )) return wrapped [ドキュメント] def mark_safe ( s ...
-
https://man.plustar.jp/django/_modules/django/utils/safestring.html
- [similar]
- ファイルのアップロード — Django 4.0.6 ドキュメント 7077
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s MyCommand ( BaseCommand ): def handle ( self , * args , ** options ): content_file = ContentFile ( b 'He ...
ur URL or reverse(). def post ( self , request , * args , ** kwargs ): form_class = self . get_form_class ...
dFileView ( View ): def setup ( self , request , * args , ** kwargs ): request . upload_handlers . insert ...
andler ( request )) super () . setup ( request , * args , ** kwargs ) @method_decorator ( csrf_protect ) d ...
-
https://man.plustar.jp/django/topics/http/file-uploads.html
- [similar]
- How to implement a custom template backend — Django 4.0.6 ドキュメント 7007
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nFailed as exc : raise TemplateSyntaxError ( exc . args ) def get_template ( self , template_name ): try : ...
tFound as exc : raise TemplateDoesNotExist ( exc . args , backend = self ) except foobar . TemplateCompila ...
nFailed as exc : raise TemplateSyntaxError ( exc . args ) class Template : def __init__ ( self , template ...
-
https://man.plustar.jp/django/howto/custom-template-backend.html
- [similar]