Re: [Django] #23542: Add ability to disable migrations

2014-09-24 Thread Django
#23542: Add ability to disable migrations
---+--
 Reporter:  yuriiz |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.7
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by yuriiz):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The problem turned out to be in another third-party application having
 'migrate' management command too.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.15728ed5bce17d921577c0dcd55f19c2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23542: Add ability to disable migrations

2014-09-23 Thread Django
#23542: Add ability to disable migrations
---+--
 Reporter:  yuriiz |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by claudep):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I think we'd like to know a bit more about the error you mention, as
 migrations are not (yet?) mandatory in Django 1.7. Could you paste the
 full traceback of `manage.py test --traceback`?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a39560d86b36140cdb0515bd70c60792%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #23542: Add ability to disable migrations

2014-09-22 Thread Django
#23542: Add ability to disable migrations
---+
 Reporter:  yuriiz |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Uncategorized  |Version:  1.7
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 Django 1.7 introduces migrations which are described at:
 https://docs.djangoproject.com/en/1.7/topics/migrations/

 Unfortunately this step is now mandatory which restricts Django 1.7 usage.
 (Otherwise the one get
 "CommandError: App 'sessions' has migrations. Only the sqlmigrate and
 sqlflush commands can be used when an app has migrations." on manage.py
 test immediately).

 There are great number of projects that are established enough to have DB
 schema unmodified for long time already but would benefit from Django 1.7
 securiry/bug fixes. Some projects have third-party migration solutions
 (South is not the only one in the world), some of them could be even non-
 Python. These projects can not upgrade Django from now either or forced to
 make dummy migrations.

 It would be great if Django had settings to disable new Django's built-in
 migrations completely. Like
 ENABLE_MIGRATIONS = default True and False would fallback syncdb to old
 create-table-if-not-exists behaviour and manage.py test could be still
 used for testing applications with no Django migrations created.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.958098121c2dc8b2d455c9b93dc1e794%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.