検索

phrase: max: clip:
target: order:
Results of 61 - 70 of about 312 for USE (0.096 sec.)
Simple mixins — Django 4.0.6 ドキュメント 5383
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a view variable that points to the View instance. Use alters_data where appropriate Note that having the ... Response , given suitable context. The template to use is configurable and can be further customized by s ... 属性 template_name ¶ The full name of a template to use as defined by a string. Not defining a template_na ... template_engine ¶ The NAME of a template engine to use for loading the template. template_engine is passe ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 5346
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 'NAME' : 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator' , }, { 'NAME' : 'dja ... inRequiredMixin , PermissionRequiredMixin , そして UserPassesTestMixin です。これらを使えば、クラスベース ... 在の request は self.request でアクセス可能である。 UserPassesTestMixin のカスタムの test_func() は user 引 ... 数を取らない。現在のユーザーは self.request.user でアクセス可能である。 permission_required 属性は ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 5346
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s models.JSONField and forms.JSONField that can be used on all supported database backends. Both fields s ... upport the use of custom JSON encoders and decoders. The model fi ... ontains = 'London' , ) . delete () If your project uses django.contrib.postgres.fields.JSONField , plus t ... ed form field and transforms, you should adjust to use the new fields, and generate and apply a database ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 5309
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d) : weakref(receiver) } """ def __init__ ( self , use_caching = False ): """ Create a new signal. """ se ... vers = [] self . lock = threading . Lock () self . use_caching = use_caching # For convenience we create ... empty caches even if they are not used. # A note about caching: if use_caching is define ... eceivers_cache = weakref . WeakKeyDictionary () if use_caching else {} self . _dead_receivers = False [ド ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 5309
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... safe HTML." The reason is_safe is necessary is because there are plenty of normal string operations that ... lue ): return ' %s xx' % value When this filter is used in a template where auto-escaping is enabled, Dja ... put yourself. To mark the output as a safe string, use django.utils.safestring.mark_safe() . Be careful, ... scaping is in effect when the filter is called. We use autoescape to decide whether the input data needs ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 5309
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ypically shouldn't override built-in templates because they might conflict with a project's custom templa ... y using the renderer argument of Widget.render() . Use one of the built-in template form renderers or imp ... oTemplates ¶ class DjangoTemplates ¶ This renderer uses a standalone DjangoTemplates engine (unconnected ... S setting, such as context processors for example, use the TemplatesSetting renderer. Jinja2 ¶ class Jinj ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
テンプレート — Django 4.0.6 ドキュメント 5309
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... everal template engines (or even zero if you don't use templates). Django ships built-in backends for its ... template system will call it with no arguments and use its result instead of the callable. タグ ¶ Tags pr ... Some tags require beginning and ending tags: {% if user.is_authenticated %} Hello, {{ user.username }} . ... reason for instantiating an Engine directly is to use the Django template language outside of a Django p ...
https://man.plustar.jp/django/topics/templates.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 5281
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... RelatedManager ¶ A "related manager" is a manager used in a one-to-many or many-to-many related context. ... of a ForeignKey relationship, QuerySet.update() is used to perform the update. This requires the objects ... to already be saved. You can use the bulk=False argument to instead have the relate ... ues, normally primary keys, as the *objs argument. Use the through_defaults argument to specify values fo ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
Django 0.96 リリースノート — Django 4.0.6 ドキュメント 5281
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ations. However, we're also releasing 0.96 now because we have a set of backwards-incompatible changes sc ... , called "mysql_old", has been added to Django. To use this backend, change the DATABASE_ENGINE setting i ... = "mysql_old" However, we strongly encourage MySQL users to upgrade to a more recent version of MySQLdb a ... e changed slightly. These names are generally only used when it is not possible to put the reference dire ...
https://man.plustar.jp/django/releases/0.96.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 5281
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 的に、これらの機能を合わせて認証システムと呼びます。 User オブジェクト ¶ User オブジェクトは、認証システムの ... 際などに利用されます。 Djangoの認証フレームワークにはUserクラスという、ただひとつのクラスのみが存在します。 ... すなわち、 'superusers' または admin 'staff' ユーザは、Userオブジェクト ... と異なるクラスではなく、特別な属性セットを持ったUserオブジェクトなのです。 デフォルトのユーザの主要な属 ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 NEXT