In MySQL and PostgreSQL you can go into the database and modify the
auto increment sequence value to start at something else. There's no
way to set that via Django at the moment.

On May 13, 4:49 pm, jwwest <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is there a way to create a column that has a unique id per row like
> id, but where I can specify the number it starts from? Basically I'm
> working on a ecommerce system and I would like the sales order numbers
> to start from say, 1000. I'd use ID, but as far as I know, it starts
> from 1.
>
> - James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to