検索

phrase: max: clip:
target: order:
Results of 101 - 110 of about 239 for example (0.062 sec.)
Database migration operations — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sion in your database using a migration file. This example creates an hstore extension, but the same principl ... migration with the HStoreExtension operation. For example: from django.contrib.postgres.operations import HS ... CharField , TextField , and their subclasses. For example, to create a collation for German phone book order ...
https://man.plustar.jp/django/ref/contrib/postgres/operations.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nse after it has been constructed by the view. For example, you may want to change the template that is used, ... e name of a template, or a list of template names. Example: ['foo.html', 'path/to/bar.html'] SimpleTemplateRe ... d when rendering the template. It must be a dict . Example: {'foo': 123} SimpleTemplateResponse. rendered_con ... e used as an alternative to calling render() . For example, the following view returns a TemplateResponse wit ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... filters may now be used in the if expression. For example: < div {% if user.email | lower == message.recipie ... the decorator to one that works with methods. For example, you would change code from this: class MyClass ( ... r of DATABASE_ settings in your settings file. For example: DATABASE_NAME = 'test_db' DATABASE_ENGINE = 'post ... API, but allows instances to be used as views. For example, consider the use of the old framework in the foll ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
Django 1.9.3 リリースノート — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ion credentials "safe" when they shouldn't be. For example, a URL like http://mysite.example.com\@attacker.co ... idered safe if the request's host is http://mysite.example.com , but redirecting to this URL sends the user t ...
https://man.plustar.jp/django/releases/1.9.3.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... traints on expressions and database functions. For example: from django.db import models from django.db.model ... ou to provide a Form subclass, with a checkbox for example, to confirm deletion. In addition, this allows Del ... t now also include an asterisk before the dot. For example, change '.example.com' to 'https://*.example.com' ... same name and value. Tests that fail to load, for example due to syntax errors, now always match when using ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 4933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nage.py createsuperuser --username=joe --email=joe@example.com パスワードを入力するように促されます。入力後、 ... evel way to authenticate a set of credentials; for example, it's used by the RemoteUserMiddleware . Unless yo ... our test on request.user in the view directly. For example, this view checks to make sure the user has an ema ... st ): if not request . user . email . endswith ( '@example.com' ): return redirect ( '/login/?next= %s ' % re ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
The flatpages app — Django 4.0.6 ドキュメント 4882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng. Then either: Add an entry in your URLconf. For example: urlpatterns = [ path ( 'pages/' , include ( 'djan ... cify an authenticated user using a for clause. For example: {% get_flatpages for someuser as about_pages %} I ... as a variable to be resolved from the context. For example: {% get_flatpages '/about/' as about_pages %} {% g ... hangefreq or priority . カスタマイズ例 ¶ Here's an example of a URLconf using FlatPageSitemap : from django.c ...
https://man.plustar.jp/django/ref/contrib/flatpages.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 4882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... TEMPLATES setting, such as context processors for example, use the TemplatesSetting renderer. Jinja2 ¶ class ... t don't have any, you can't use this renderer. For example, django.contrib.admin doesn't include Jinja2 templ ... by defining django/forms/widgets/input.html , for example. See ビルトインのウィジェット for the name of each ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 4842
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the ORM when an expected object is not found. For example, QuerySet.get() will raise it when no object is fo ... efault one does not appear. Consider the following example: from django.db import models class Person ( model ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 4842
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... de a subquery as a geographic lookup argument, for example City.objects.filter(point__within=Country.objects. ... nd replaced with a check during model.save() . For example: >>> book = Book . objects . create ( name = "Djan ... f an unsaved object would be silently ignored. For example: >>> book = Book . objects . create ( name = "Djan ... h supported by a database can create problems. For example, with MySQL you'll get an exception trying to crea ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PREV 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 NEXT