Saturday, July 10, 2021

Re: help on passing UUID field as pk to django url

No! not CharField, UUID field is good! (Y) but do not use it as pk.

Regards,
Sharif

On Saturday, July 10, 2021, 5:42:59 PM GMT+6, Sharif Mehedi <sharifmehedi24@gmail.com> wrote:



Do not use uuid as pk. keep a separate field for uuid preferably a CharField.

Regards,
Sharif
On Saturday, July 10, 2021, 2:49:11 PM GMT+6, ola neat <tosinayoola0@gmail.com> wrote:


good day guys, i've got an iss passing a uuid field as a route params to my url
below is my codesnipet  and err msg
image.png
image.png

image.png



--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn71URr_bb0Q8qYB%2BijiWpNe72qXXf3N%2Bzv6uF-1czYV8DQ%40mail.gmail.com.

No comments:

Post a Comment