On 27 juil, 14:37, Torsten Bronger <bron...@physik.rwth-aachen.de>
wrote:
(snip)
> Well, it could map them possibly ... granted that there would be no
> reason for it.  Okay, then I must be more precise:
>
> If I have a model with an implicit primary key, and values of this
> key are used to identify associated files on disk, is this safe?
> Safe as far as restoring SQL backups, re-loading fixtures, and south
> migrations are concerned?

It's safe for reloading fixtures AFAICT (as long as your fixtures
include the existing IDs, which is the default if you create them
dumpdata IIRC).

It should be safe for restoring SQL backups, unless your RDBMS
implementation is severely broken !-).

WRT/ South, I never used it so far so I just can't tell, so you'd
better check this out by reading to source code or asking the authors
(or on the project's group or ML).


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to