Thursday, October 30, 2014

Re: DB foreign key constraints : Django 1.7 regression ?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJUUnURAAoJEC0ft5FqUuEhXe0P/3oV+NGzoP+Sd+Ylm+K84eNg
2fSqkMTDDy//Q2ZFOkPoppubnjWaS+dxlXbOXlKkw9LVt1r4/5y6dneieEyktm4i
PdsTGJNU+lgY54MjOXRf98cfhNaDENi7kALiKdkcDYofLY/wnmzPicSaEtwEOQ09
yb1v2+ke31ZrINS22FujV2drXqPYgu56yJp1E2SllKeA71sDCf9RvppXNYRVVUgi
QdSJknVYlKRRlRpohOMkOmrI1C4dGySFq9DoNC/l9Yh2eg1hB25FI0y5z/lqd0hc
qJgVCgX6NBeP2cwGIhZ+G0bcVtMmtWUzXoBtpEHzRdAurnh42ca6Yq0/Af1wF5zr
vjOkPgZbmTKi6Mh9PPseDhKgUe3ZjYee8hfV/Ag9JULkDY53If+KgAisK4WggnDA
YdI8GhPeiIIOMDsvFDsA4S71zi8MewXcEYRczOgLMuJFfXF0zul9n5gmWjHYWgVH
M7tSpJ1TF6fKyqMT47m9refb+ldJTfgkkubv94EKbKPZs6QWoD/3wg9JIR4Ri5AR
fRow60LKKQBhJm7zK1+31uzzrSnTPuGuFVlk/duDkYzYZxWvdF/yyIEIk4XjPAao
LajlAVlsK5QS/COu+fWyZdTJXwXFN0p1IJM1acnu+aX1oJ+9b1L+7j+Ku4SoaNad
AFGcVf+V6BYYUe5mhwIy
=Idx6
-----END PGP SIGNATURE-----
On 10/30/2014 06:09 AM, notsqrt@gmail.com wrote:
> Thanks Daniel, that was it (instead of removing the migrations folder, I
> now use makemigrations).
>
> I expected everything to work without the need of migrations.
> So I guess that with django 1.7, it is simply mandatory to use migrations.
>
> It is indeed stated
> in https://docs.djangoproject.com/en/1.7/topics/migrations/#unmigrated-dependencies
>
> I guess adding a nice big system check would have helped me !
> Is that addition worthy of a ticket ?

I'm not sure off the top of my head how feasible such a check would be,
but in principle I think it would be a good idea - so yes, I'd recommend
opening a ticket.

Carl

No comments:

Post a Comment