Hi All,

I am using Django 2.0.6 with Python 3.6 and MySql and created a model which 
maps the db tables to django.
In my database, I have a column 'config' of type json.
This column stores the data in a dictionary format like below- 
{"user_id": "a...@example.com", "password": "xyz"}
I need to make it editable via the Django like below screen shot-

<https://lh3.googleusercontent.com/-KvJmUsBCPso/WzN-3u5rcyI/AAAAAAAAMTM/esDa67bBIHEpSnsW9kgYfnQEKrIKHxfuACLcBGAs/s1600/config_cms.JPG>

I need your suggestion - what is the best way to achieve this?
I found a useful link for this purpose -
how-to-store-a-dictionary-on-a-django-model 
<https://stackoverflow.com/questions/402217/how-to-store-a-dictionary-on-a-django-model>
 but 
want to take your valuable guidance before proceeding so that I can 
implement with best practices.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eeaba88f-136a-4e03-9599-b564a596bdf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to