Ivan
Ivan
@AurelioDeRosa thanks for the quick fix! Maybe it can be set to escape the xml text when rendering so this won't happen again in the future?
I don't think that solution will work. You need to think about the m2m fields and the inline formsets that are saved in the `save_related()`. In the upcoming 1.9 cloning...
I think I found a solution for 1.8 and earlier: ``` def save_model(self, request, obj, form, change): if change: obj = obj.clone() form.instance = obj form.save(commit=False) # trigger save_instance() and...
Yes.. I ended up using this code: ``` def save_model(self, request, obj, form, change): if change: fresh = obj._meta.model.objects.as_of().get(pk=obj.pk) new = fresh.clone() obj.version_start_date = new.version_start_date obj.save() form.instance = obj form.save(commit=False)...
Same here, fixed it by overriding `should_update` and checking if the instance is in the queryset
This is still happening as of 2016-05-22
Hi, I'm also looking for filtering by date (before/after) in the API.
Let me try and write something. Would a test with `asyncio.sleep(1)` be acceptable?
@carltongibson I hacked something quickly. I'm pretty sure the test is not elegant and in an incorrect place, but it showcases the issue. Some guidance would we welcome. The messages...
For my usecase I subclassed `ChatOpenAI` and modified `_generate` and `_agenerate` functions changing these lines: Inside `_generate` from `run_manager.on_llm_new_token(token)` to `run_manager.on_llm_new_token(token, arguments=_function_call.get('arguments', '') if _function_call else '')` Inside `_agenerate` from...