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: Your uuid suggestion (which I have never worked with, but will explore) a function in the model that does the incrementing before committing – (anyone have some example code for this?). The challenge would be to keep track of the last used ticket no. I haven’t thought this through yet, but it does occur to me that one could use the id (maybe prefix the id with some starting digits) and write the record twice. Probably barking up the wrong tree. Regards, Bruckner de Villiers +27 83 625 1086 From: <django-users@googlegroups.com> on behalf of Jason <jjohns98...@gmail.com> Reply to: <django-users@googlegroups.com> Date: Monday, 10 February 2020 at 14:55 To: Django users <django-users@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+unsubscr...@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. -- 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/7C1BE52B-AFAE-4D38-9003-8A454A284A39%40gmail.com.