#33871: JSONField with default is not detected as changed when invalidated in
inlines.
-------------------------------------+-------------------------------------
Reporter: Raphael | Owner: JunKi
| Yoon
Type: Bug | Status: assigned
Component: Forms | Version: 4.0
Severity: Normal | Resolution:
Keywords: JSONField | Triage Stage: Accepted
TabularInline |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Raphael):
Hello,
1. So, Could you plz give me the URL for the basic Django tutorial ?
--- https://docs.djangoproject.com/en/4.1/intro/tutorial01/
2. And, I downloaded your attachments. I have a question about sequence
you wrote. Did you run it from the admin page ? or Django shell ?
-- Admin page
3. Did you mean, right?
-- I didn't really understand the question, but in the sample I attached
is another field. I don't think this is relevant to the problem. I think
it's easier for you to use the sample I sent.
How can I reproduce ?
Run the code and follow the Sequence. You will see that the data will not
be store correctly.
Thank you.
Replying to [comment:9 JunKi Yoon]:
> Replying to [ticket:33871 Raphael], [comment:7 Mariusz Felisiak]:
>
> Hi, Raphael. I want to patch this issue.
>
> 1. So, Could you plz give me the URL for the basic Django tutorial ?
>
> 2. And, I downloaded your attachments. I have a question about sequence
you wrote. Did you run it from the admin page ? or Django shell ?
>
> 3. Did you mean, right?
> {{{
> two TextField -> Question.question_text, Choice.choice_text,
> one JsonField -> Choice.test
> }}}
>
> How can I reproduce ?
--
Ticket URL: <https://code.djangoproject.com/ticket/33871#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182ab87ec0b-09263470-8378-4eb3-a174-a00824e3ed02-000000%40eu-central-1.amazonses.com.