usually people will upgrade using pip install -U
if your lib needs more than that it should be the least complicated
possible, I believe making people make their own migrations would be a
burden

On Wed, Jun 10, 2015 at 9:24 AM, Jonathan Barratt <
[email protected]> wrote:

> Hi All,
>
> I'm interested to know what the community's opinions are on how best to
> package migrations with reusable apps (I'm thinking of the built-in
> migrations, but it seems the same principles would apply for pre-1.8 south
> migrations).
>
> My current approach is to squash all schema migrations each time a new one
> is generated so that new installs are smooth; we've seen issues arise from
> just keeping the individual migrations that accumulate the long way (in
> terms of both speed and bugs).
>
> I figure existing users who upgrade can be expected to run their own make
> migrations if necessary, but perhaps I'm placing the burden of work on the
> wrong party...
>
> If initial data is necessary, then it gets its own separate data migration
> - this seems to keep the code (and git history) cleaner IMO.
>
> I'd greatly appreciate and criticism, suggestions or alternate approaches
> that occurs to you.
>
> Thanks in advance,
> Jonathan
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/146C30FE-903F-4823-916F-F50B03DFDCB5%40gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tKAfFXR%3DEkXwjkcZX8-Jd%2BVnSC%3D9cE4yq3yyw1hELz7LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to