Brajesh, I presume that you want the counter to auto-increment. The gurus are recommending AutoField, but I can’t get it to work yet and the Django docs are a bit vague on the subect.
Good luck. Bruckner de Villiers 083 625 1086 From: <django-users@googlegroups.com> on behalf of BRAJESH KUMAR <brajesh.cal...@gmail.com> Reply to: <django-users@googlegroups.com> Date: Sunday, 09 February 2020 at 20:45 To: "django-users@googlegroups.com" <django-users@googlegroups.com> Subject: to add counter to an object of a table Hi , I have a product details db class with few details for each object of that class, need help to add a counter. Thanks, Brajesh Sent from Mail for Windows 10 -- 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/5e405315.1c69fb81.6e215.a4ec%40mx.google.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/3467A551-64FD-4D20-9174-3C4667A1224B%40gmail.com.