Results of 181 - 190 of about 195 for Object (0.111 sec.)
- django.utils.text — Django 4.0.6 ドキュメント 4592
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tion from django.utils.functional import SimpleLazyObject , keep_lazy_text , lazy from django.utils.regex_he ...
join ( _generator ()) class Truncator ( SimpleLazyObject ): """ An object used to truncate text, either by ...
-
https://man.plustar.jp/django/_modules/django/utils/text.html
- [similar]
- Full text search — Django 4.0.6 ドキュメント 4592
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e column in the database. For example: >>> Entry . objects . filter ( body_text__search = 'Cheese' ) [<Entry ...
ib.postgres.search import SearchVector >>> Entry . objects . annotate ( ... search = SearchVector ( 'body_te ...
he search document includes them all. SearchVector objects can be combined together, allowing you to reuse t ...
hem. For example: >>> Entry . objects . annotate ( ... search = SearchVector ( 'body_te ...
-
https://man.plustar.jp/django/ref/contrib/postgres/search.html
- [similar]
- アップロードファイルとアップロードハンドラ — Django 4.0.6 ドキュメント 4592
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. Each entry in this dictionary is an UploadedFile object (or a subclass) -- a wrapper around an uploaded fi ...
-
https://man.plustar.jp/django/ref/files/uploads.html
- [similar]
- セッションの使いかた — Django 4.0.6 ドキュメント 4592
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
fication value and the expiry is set as a datetime object, where you do have the modification value, it is m ...
zer (or convert such values to a JSON serializable object before storing them in request.session ). While se ...
続きを行います。 def login ( request ): m = Member . objects . get ( username = request . POST [ 'username' ]) ...
b.sessions.models import Session >>> s = Session . objects . get ( pk = '2b1189a188b44ad18c35e113ac6ceead' ) ...
-
https://man.plustar.jp/django/topics/http/sessions.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 4549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lookup is overridden on ArrayField . The returned objects will be those where the values passed are a subse ...
uses the SQL operator @> . For example: >>> Post . objects . create ( name = 'First post' , tags = [ 'though ...
ts' , 'django' ]) >>> Post . objects . create ( name = 'Second post' , tags = [ 'thoug ...
hts' ]) >>> Post . objects . create ( name = 'Third post' , tags = [ 'tutori ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- フォームとフィールドの検証 — Django 4.0.6 ドキュメント 4549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ses known as validators. A validator is a callable object or function that takes a value and returns nothing ...
-
https://man.plustar.jp/django/ref/forms/validation.html
- [similar]
- ミドルウェア — Django 4.0.6 ドキュメント 4549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntly-logged-in user, to every incoming HttpRequest object. See Authentication in web requests . class Remote ...
-
https://man.plustar.jp/django/ref/middleware.html
- [similar]
- 素の SQL 文の実行 — Django 4.0.6 ドキュメント 4549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
be iterated over like a normal QuerySet to provide object instances. 例を示す事で最も簡単に説明できます。以下 ...
うに独自の SQL を実行できます: >>> for p in Person . objects . raw ( 'SELECT * FROM myapp_person' ): ... print ...
xciting -- it's exactly the same as running Person.objects.all() . However, raw() has a bunch of other optio ...
下の両方のクエリは同じように動作します: >>> Person . objects . raw ( 'SELECT id, first_name, last_name, birth_ ...
-
https://man.plustar.jp/django/topics/db/sql.html
- [similar]
- パフォーマンスと最適化 — Django 4.0.6 ドキュメント 4549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
vels. At higher levels the system has to deal with objects through multiple levels of abstraction and layers ...
e good at my_bicycles . count () # counting Python objects # slower, because it requires a database query an ...
yway, and processing # of the Python objects len ( my_bicycles ) # Django template filter # sl ...
describes. What gets passed around is the QuerySet object, not the collection of items that - eventually - w ...
-
https://man.plustar.jp/django/topics/performance.html
- [similar]
- はじめての Django アプリ作成、その 5 — Django 4.0.6 ドキュメント 4516
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
View ): template_name = 'polls/index.html' context_object_name = 'latest_question_list' def get_queryset ( s ...
ast five published questions.""" return Question . objects . order_by ( '-pub_date' )[: 5 ] get_queryset() メ ...
be published in the future). """ return Question . objects . filter ( pub_date__lte = timezone . now () ) . ...
order_by ( '-pub_date' )[: 5 ] Question.objects.filter(pub_date__lte=timezone.now()) は、 pub_dat ...
-
https://man.plustar.jp/django/intro/tutorial05.html
- [similar]