you can use postgres JsonField
https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/fields/#jsonfield

On Wed, 7 Jul 2021 at 06:05, DJANGO DEVELOPER <abubakarbr...@gmail.com>
wrote:

> Hi
>  I am developing a django project and I want to count word frequency at
> the django admin side.
> Means a word is repeating in a string should be counted and be saved in
> the database only.
> I have managed to do it on front-end side but now I also want to do it on
> django admin side.
> example: any_string = {'word1': 12,'word2': 29}
> this the example because I want to get the data this way. word1 is there
> for 12 times in a string and same is the case for word2.
> so I need help and your help would be appreciated.
> thanks.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/672d9b02-382e-4b79-bcaf-6b618b514c28n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/672d9b02-382e-4b79-bcaf-6b618b514c28n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVEM2mq8EPokL9KwU3OGz%2BgaJf%3DgMALZbVa%3DdsEeW1WGiw%40mail.gmail.com.

Reply via email to