Results of 1 - 10 of about 14 for event (0.027 sec.)
- asgiref.sync — Django 4.0.6 ドキュメント 12533
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n awaitable that only works on the thread with the event loop into a synchronous callable that works in a s ...
that we always run in a new sub-loop. self . main_event_loop = None else : try : self . main_event_loop = ...
running_loop () except RuntimeError : # There's no event loop in this thread. Look for the threadlocal if # ...
we're inside SyncToAsync main_event_loop_pid = getattr ( SyncToAsync . threadlocal , " ...
-
https://man.plustar.jp/django/_modules/asgiref/sync.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 12253
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
es; for example the start and end timestamps of an event, or the range of ages an activity is suitable for. ...
tegerRangeField from django.db import models class Event ( models . Model ): name = models . CharField ( ma ...
ls import timezone >>> now = timezone . now () >>> Event . objects . create ( name = 'Soft play' , ages = ( ...
0 , 10 ), start = now ) >>> Event . objects . create ( name = 'Pub trip' , ages = ( ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- JavaScript customizations in the admin — Django 4.0.6 ドキュメント 11220
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
vaScript customizations in the admin ¶ Inline form events ¶ You may want to execute some JavaScript when an ...
form. The formset:added and formset:removed jQuery events allow this. The event handler is passed three arg ...
uments: event is the jQuery event. $row is the newly added (or r ...
formsetName is the formset the row belongs to. The event is fired using the django.jQuery namespace . In yo ...
-
https://man.plustar.jp/django/ref/contrib/admin/javascript.html
- [similar]
- 非同期サポート — Django 4.0.6 ドキュメント 8822
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
these parts from a thread where there is a running event loop , you will get a SynchronousOnlyOperation err ...
r code is still running in a thread with an active event loop, even though it may not be declared as async ...
active shells both transparently provide an active event loop so that it is easier to interact with asynchr ...
ou're using an IPython shell, you can disable this event loop by running: % autoawait off as a command at t ...
-
https://man.plustar.jp/django/topics/async.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 8244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ィールドの逆参照など)。 このケースを考えます: class Event ( Model ): parent = models . ForeignKey ( 'self' , ...
name = 'children' , ) date = models . DateField () Event . objects . order_by ( 'children__date' ) ここで、 ...
それぞれの Event に対して、複数の並べ替えデータが存在する可能性があ ...
ります; 複数の children を伴う Event は、 order_by() が作る新たな QuerySet においてそれ ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Django 1.7.1 release notes — Django 4.0.6 ドキュメント 7824
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
aint names in the SQL generated by migrations to prevent crash with uppercase characters in the name ( #230 ...
usable ( #23421 ). Fixed bug in migrations that prevented foreign key constraints to unmanaged models with ...
hen removing the null constraint from a field to prevent an IntegrityError on existing NULL rows ( #23609 ) ...
e test database creation drop the test user in the event of an unclean exit of a previous test run ( #23649 ...
-
https://man.plustar.jp/django/releases/1.7.1.html
- [similar]
- Django の例外 — Django 4.0.6 ドキュメント 7737
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nous context (a thread with a running asynchronous event loop). These parts of Django are generally heavily ...
ed. exception models. ProtectedError ¶ Raised to prevent deletion of referenced objects when using django.d ...
. exception models. RestrictedError ¶ Raised to prevent deletion of referenced objects when using django.d ...
-
https://man.plustar.jp/django/ref/exceptions.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 7737
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
many pieces of code may be interested in the same events. Django provides a set of built-in signals that l ...
local function, it may be garbage collected. To prevent this, pass weak=False when you call the signal's c ...
n cases where duplicate signals may be sent. See Preventing duplicate signals for more information. Let's s ...
mentation for details of each particular signal. Preventing duplicate signals ¶ In some circumstances, the ...
-
https://man.plustar.jp/django/topics/signals.html
- [similar]
- django.contrib.gis.measure — Django 4.0.6 ドキュメント 7702
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
S FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABL ...
-
https://man.plustar.jp/django/_modules/django/contrib/gis/measure.html
- [similar]
- Full text search — Django 4.0.6 ドキュメント 7702
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
paring the size of an integer, for example. In the event that all the fields you're querying on are contain ...
-
https://man.plustar.jp/django/ref/contrib/postgres/search.html
- [similar]