you could do that in the database with a mysql statement.
ALTER TABLE tbl AUTO_INCREMENT = 7777; [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar <http://about.me/maninder.s.kumar?promo=email_sig> On Wed, Jan 22, 2020 at 12:03 AM Soumen Khatua <soumenkhatua...@gmail.com> wrote: > Hi Folks, > > I want to start my primary key from saome random number like: 7777(onwards) > but not from 1. How I can do that in django? > > Thank you in advance > > Regards, > Soumen > > -- > 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/CAPUw6Wbrnst2pAkdCZp%2B2jd4etsYGE_o%2BBO%2BAc85TPeyG92a3A%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAPUw6Wbrnst2pAkdCZp%2B2jd4etsYGE_o%2BBO%2BAc85TPeyG92a3A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CABOHK3SAx5f5%3DUSKQoXisUytXfjHN2ZVKkFpFuerxvdrPh308A%40mail.gmail.com.