Friday, October 22, 2010

Re: Fixtures with deferred / auto-generated primary keys?

On Saturday, October 23, 2010, Paul Winkler <slinkp@gmail.com> wrote:
> Tried it out. Interestingly, natural keys are currently used only for
> foreign key references,
> the dump still contains primary keys.
> Looks like there's a patch for leaving out PK's when natural keys are
> used:
> http://code.djangoproject.com/ticket/13252
> That would get me 100% of the way there.

FYI - this ticket is on my list of thing to look at for 1.3. I can't
make any guarantees about when it will land, but i would like to see
this feature for exactly the use case you have described.

Yours,
Russ Magee %-)

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment