Results of 101 - 110 of about 312 for USE (0.122 sec.)
- Testing GeoDjango apps — Django 4.0.6 ドキュメント 4758
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
are some additional notes and settings for PostGIS users. PostGIS ¶ 設定 ¶ 注釈 The settings below have s ...
o figure out what features are available. Advanced users wishing to prevent this additional query may set ...
example, to configure for PostGIS X.Y.Z you would use: POSTGIS_VERSION = ( X , Y , Z ) Obtaining suffici ...
describes several methods to configure a database user with sufficient privileges to run tests for GeoDj ...
-
https://man.plustar.jp/django/ref/contrib/gis/testing.html
- [similar]
- Django 2.1 リリースノート — Django 4.0.6 ドキュメント 4758
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
実行時に自動的に作成されます。 This allows giving users read-only access to models in the admin. ModelAd ...
't a need to assign the "view" permission to allow users who have the "change" permission to edit objects ...
permissions to limit their availability to certain users. django.contrib.auth ¶ createsuperuser now gives ...
s. キャッシュ ¶ The local-memory cache backend now uses a least-recently-used (LRU) culling strategy rath ...
-
https://man.plustar.jp/django/releases/2.1.html
- [similar]
- マネージャ — Django 4.0.6 ドキュメント 4758
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
models . CASCADE ) # ... With this example, you'd use OpinionPoll.objects.with_counts() to get a QuerySe ...
ll() は Roald Dahl の書いた本だけを返しま す。 Because get_queryset() returns a QuerySet object, you can ...
efault managers ¶ Model. _default_manager ¶ If you use custom Manager objects, take note that the first M ...
several parts of Django (including dumpdata ) will use that Manager exclusively for that model. As a resu ...
-
https://man.plustar.jp/django/topics/db/managers.html
- [similar]
- django.utils.functional — Django 4.0.6 ドキュメント 4721
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d def func ( instance ): raise TypeError ( "Cannot use cached_property instance without calling " "__set_ ...
created in the closure of the lazy function. It's used to recognize promises in code. """ pass def lazy ...
ject : """ A wrapper for another class that can be used to delay instantiation of the wrapped class. By s ...
r the instantiation. If you don't need to do that, use SimpleLazyObject. """ # Avoid infinite recursion w ...
-
https://man.plustar.jp/django/_modules/django/utils/functional.html
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 4721
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r into one sitemap.xml , but it's also possible to use the framework to generate a sitemap index that ref ...
hould be a string representing an absolute path to use for every object returned by items() . In both cas ...
tems() . To specify a protocol other than 'http' , use protocol . lastmod ¶ Optional. Either a method or ...
s() . Possible values for changefreq , whether you use a method or attribute, are: 'always' 'hourly' 'dai ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- ウィジェット — Django 4.0.6 ドキュメント 4721
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ld クラス をご覧ください。 However, if you want to use a different widget for a field, you can use the wi ...
tage of the new HTML5 input types. To do this, you use the Widget.attrs argument when creating the widget ...
y on the form (such as model form fields), you can use the Form.fields attribute: class CommentForm ( for ...
alue , attrs ) ¶ Returns a dictionary of values to use when rendering the widget template. By default, th ...
-
https://man.plustar.jp/django/ref/forms/widgets.html
- [similar]
- Django 1.11.8 リリースノート — Django 4.0.6 ドキュメント 4721
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ngo 1.10, AuthenticationForm to raise the inactive user error when using ModelBackend ( #28645 ). Added s ...
aced db_table ( #28792 ). Made QuerySet.iterator() use server-side cursors on PostgreSQL after values() a ...
nd MySQL when ordering by a filtered subquery that uses nulls_first or nulls_last ( #28848 ). Made query ...
s for CICharField , CIEmailField , and CITextField use a citext cast ( #28702 ). Fixed a regression in ca ...
-
https://man.plustar.jp/django/releases/1.11.8.html
- [similar]
- クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 4721
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ccess_url for CreateView or UpdateView - they will use get_absolute_url() on the model object if availabl ...
e. If you want to use a custom ModelForm (for instance to add extra vali ...
l = reverse_lazy ( 'author-list' ) 注釈 We have to use reverse_lazy() instead of reverse() , as the urls ...
ws inherit SingleObjectTemplateResponseMixin which uses template_name_suffix to construct the template_na ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 4693
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a table with existing rows will raise an error because the value used to populate existing rows is genera ...
ions will run inside a transaction by default. For use cases such as performing data migrations on large ...
ur migration runs before other migrations. This is useful, for example, to make third-party apps' migrati ...
ons run after your AUTH_USER_MODEL replacement. これを達成するために、あなたの ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- Django 2.0 リリースノート — Django 4.0.6 ドキュメント 4693
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ase function returns a version 4 UUID. It requires use of PostgreSQL's pgcrypto extension which can be ac ...
memcached. ファイルストレージ ¶ File.open() can be used as a context manager, e.g. with file.open() as f: ...
e helpful particularly when select_for_update() is used in conjunction with select_related() . The new fi ...
new FilteredRelation class allows adding an ON clause to querysets. ページネーション ¶ Added Paginator.g ...
-
https://man.plustar.jp/django/releases/2.0.html
- [similar]