-
## What's the problem this feature will solve?
django-elasticsearch-dsl is useful if you have an exact mapping with a model and one or several indexes in ES. But now that we are no longer tracking …
-
I have found the need to run tasks when drafts are submitted and now when pages are scheduled to be published. These hooks/signals are missing.
The wagtail.core.signals.page_published/page_unpub…
-
前不久一个新人问我如何在django的singal中实现post update,可是默认queryset的update是直接调用sql的,不会使用django orm中的save方法,signal中默认只有post save的方法。最后大致实现如下:
update() is converted directly to an SQL statement; it doesn't call sav…
-
Podczas rozwoju aplikacji Django odstąpiono od zalecenia, aby sygnały były rejestrowane w models.py. Teraz należy to robić w app config.
Zobacz na https://docs.djangoproject.com/en/1.11/topics/sig…
-
Is there any reason why we can't use `JSONField` instead of `TextField` for `object_json_repr`? It would allow for querying within the json for specific logs.
https://docs.djangoproject.com/en/5.0/re…
-
When the signal tries to serialize the django User model it fails because the object doesn't have a PK yet
for many to many relation
`object_json_repr = serializers.serialize("json", [instance])`
…
-
```
What steps will reproduce the problem?
1. ./manage.py syncdb
What is the expected output? What do you see instead?
It should create the model, instead:
Traceback (most recent call last):
File …
-
Hi!
I want to log user log in date using something like this:
```
from django.contrib.auth.signals import user_logged_in
def set_last_seen(sender, user, request, **kwargs):
if not len(req…
-
As #33 notes, there is a backwards-incompatible change to _django-reversion_ that breaks semantic versioning.
Rather than pinning to a particular version or updating _pinax_teams_ to be compatible,…
-
I'm just digging about readthedocs internal.
I want to know how creating index process starts and ends.
Roughly, I guess there are some changes(post hooks or click build button manually) and creat…