Jason,
Thank you. I have changed the title of this mail. If I have read the 10 year old ticket 8576 correctly, it seems to be a DB restriction and I imagine that there are good reasons for this. However, then I don’t understand the purpose of the AutoField given the restrictions and that the Django documentation is somewhat ambiguous/vague.
The options seem to be:
Regards,
Bruckner de Villiers
From: <django...@googlegroups.com> on behalf of Jason <jjohn...@gmail.com>
Reply to: <django...@googlegroups.com>
Date: Monday, 10 February 2020 at 14:55
To: Django users <django...@googlegroups.com>
Subject: Re: Adding a verbose_name to id field
Hmm. TIL about https://code.djangoproject.com/ticket/8576
Would a a uuid for this, rather than an integer? If not, you'll have to implement a save override to handle the incrementing yourself.
In addition, it might be worthwhile bringing this ticket up for discussion at https://groups.google.com/forum/#!forum/django-developers
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc686528-0a8d-43ff-9973-d478cc765959%40googlegroups.com.
Jason,
I cracked the uuid option – what an ugly ticket no.!!! - 0273051c-af54-4baf-91b9-651701d9020c
Bruckner de Villiers
083 625 1086
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/99dbcba0-22bd-7c1d-5fe6-68984353bfb1%40dewhirst.com.au.