Hi!
This is an idea that has been around for a while, and has been implemented
by various organizations running Django: using lock files to prevent
migration conflicts.
I recently implemented something for our Django project at work. Here is a
cleaned-up version:
https://github.com/django/django
ny lines of boilerplate.
On Thu, May 8, 2014 at 10:07 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On Wed, May 7, 2014 at 10:20 AM, Jian Li wrote:
>
>> Hi!
>>
>> In the course of implementing `natural_key` for many different models,
>> I'v
Hi!
In the course of implementing `natural_key` for many different models, I've
noticed that the implementation is fairly predictable; it tends to use the
fields already marked as unique. To avoid writing a separate implementation
for each model, I've written a patch that implements the relevant l