Hi Fadi,

This is the developers mailing list dedicated to development of django
itself. Questions like this should be addressed to the users mailing list.


P.S: Do a search for "django model property decorator" (there is also a
cached_property decorator). It will help you find a solution.

--
Pavlos Georgiadis



On 14/08/2019 05:22, 'Fadi Haddad' via Django developers (Contributions
to Django itself) wrote:
> Hi, 
>
> I have created a table called dataset
>
> I put the age as integer e.g. 34, 23, 10, 47 
>
> I need to create Age range for the age column. I need the age to be
> displayed as [1-10], [11,20], [21-30] ... etc. Can this happen by
> replacing values or do I have to create another column for this? The
> goal is to anonymize my dataset therefore if it is possible to replace
> values (age) rather than creating new column would be excellent.   
>
> Can anyone help me how to code this in SQL? Would be appreciated if
> code is included in the response 
>
> Regards
>
> Fadi
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-developers+unsubscr...@googlegroups.com
> <mailto:django-developers+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/79b8a25a-ce6b-4a73-9be2-d67c7d78e2ff%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/bc6be538-ae87-3ada-800f-a37020cc12ba%40georgiadis.eu.
  • I ne... 'Fadi Haddad' via Django developers (Contributions to Django itself)
    • ... Adam Johnson
    • ... Pavlos Georgiadis
    • ... Become a Physicist

Reply via email to