Results of 41 - 50 of about 59 for mode (0.075 sec.)
- Django への初めてのパッチを書く — Django 4.0.6 ドキュメント 6506
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
previously cloned local copy of Django in editable mode 、ローカルにコピーしたDjangoの外部に新しいDjangoプ ...
@@ database constraints. Constraints are added to models using the Minor features -------------- +:mod:`d ...
his example is equivalent to:: my_objects = list(MyModel.objects.filter(published=True)) if not my_objects ...
: raise Http404("No MyModel matches the given query.") + +``make_toast()`` += ...
-
https://man.plustar.jp/django/intro/contributing.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 6506
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s, and even other expressions. 例 ¶ from django.db.models import Count , F , Value from django.db.models.f ...
unctions import Length , Upper from django.db.models.lookups import GreaterThan # Find companies that ...
_from_db () >>> company . ticker 'GOOG' # Annotate models with an aggregated value. Both forms # below are ...
he double underscore lookup syntax. from django.db.models import CharField from django.db.models.functions ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- Django 1.11 リリースノート — Django 4.0.6 ドキュメント 6506
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
クラスベースモデルのインデックス ¶ 新しい django.db.models.indexes モジュールはデータベースインデックスの作 ...
tes a b-tree index, as if you used db_index on the model field or index_together on the model Meta class. ...
ができます。 マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin.date_hierarchy はリレーションシップを通じてフ ...
ィールドを参照できるようになりました。 新たな ModelAdmin.get_exclude() フックによって、リクエストやモ ...
-
https://man.plustar.jp/django/releases/1.11.html
- [similar]
- django.utils.text — Django 4.0.6 ドキュメント 6375
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
quence ): buf = StreamingBuffer () with GzipFile ( mode = "wb" , compresslevel = 6 , fileobj = buf , mtime ...
-
https://man.plustar.jp/django/_modules/django/utils/text.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6375
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
after the end of 2016. What's new in Django 1.8 ¶ Model._meta API ¶ Django now has a formalized API for M ...
and filter fields based on their attributes . The Model._meta object has been part of Django since the da ...
has a DurationField for storing periods of time - modeled in Python by timedelta . It is stored in the na ...
TestCase . マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin now has a has_module_permission() method to ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 6375
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e multiple Redis servers set up in the replication mode, you can specify the servers either as a semicolon ...
of routing, the database cache table appears as a model named CacheEntry , in an application named django ...
_cache . This model won't appear in the models cache, but the model d ...
abase cache operations""" def db_for_read ( self , model , ** hints ): "All cache read operations go to th ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 6244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e stable. Add the --headless option to enable this mode. Running all the tests ¶ If you want to run the fu ...
ose that the failing test that works on its own is ModelTest.test_eq , then using: $ ./runtests.py --b ...
isect basic.tests.ModelTest.test_eq ...\> runtests.py --bisect basic.test ...
s.ModelTest.test_eq will try to determine a test that int ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 6244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
'POST' , headers : { 'X-CSRFToken' : csrftoken }, mode : 'same-origin' // Do not send CSRF token to anoth ...
-
https://man.plustar.jp/django/ref/csrf.html
- [similar]
- Django 1.3 release notes — Django 4.0.6 ドキュメント 6244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t items to Django, like multiple-database support, model validation, and a session-based messages framewor ...
administrative interface allowed filtering on any model field or relation -- not just those specified in ...
fied in list_filter or date_hierarchy . Deleting a model doesn't delete associated files ¶ In earlier Djan ...
go versions, when a model instance containing a FileField was deleted, File ...
-
https://man.plustar.jp/django/releases/1.3.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
new feature in Django 1.5 is the configurable User model . Before Django 1.5, applications that wanted to ...
ser". In Django 1.5, you can now swap out the User model for one that you write yourself. This could be a ...
simple extension to the existing User model -- for example, you could add a Twitter or Facebo ...
Django 1.5 include: Support for saving a subset of model's fields - Model.save() now accepts an update_fie ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]