on Sun, 1 Mar 2009 11:34 -0800 (PST) NewSpire wrote:

> I'll note that if the AutoField is defined with unique=True the table create
> works. 

but On Mar 3, 6:19 pm, NewSpire <[email protected]> wrote:
> 
> Crazy Gul, ;-)  the order of the records, in my case, is only
> important in the context of a foreign in key.  The records in this
> table are grouped based on records in another table.  I only need the
> correct order for the group, not the entire table or aggregated
> tables.

So -- you can't put a unique index on your auto-field. 

There is one point that is unclear to me from the discussion so far -- are 
your servers symmetric? Because if there are separate "sattelites" 
and "aggregators", then you really have two different models: Satellites with 
Auto pk=order & unique UUID, and aggregators with pk=UUID & unrestricted 
order field.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to