Re: [Django] #21734: Admin doesn't catch ProtectedError

2014-01-05 Thread Django
#21734: Admin doesn't catch ProtectedError
---+--
 Reporter:  sander@…   |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  1  |  Needs documentation:  0
  Needs tests:  1  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timo):

 * needs_tests:  0 => 1
 * easy:  1 => 0


Comment:

 Is this error present on 1.6 and/or master? Is the issue different from
 #19838? A regression test will be required in order to commit the fix.

-- 
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/076.3f9b7a94b7cf11086369e6a0fd953e32%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21454: Ignoring certain fields on INSERT and UPDATE queries

2014-01-05 Thread Django
#21454: Ignoring certain fields on INSERT and UPDATE queries
-+-
 Reporter:  mpessas  |Owner:  mpessas
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  oracle   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by mpessas):

 I meant, the issues mentioned in the pull request. Sorry.

-- 
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/065.de32c3bc60f4684af08bc5561e372298%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21454: Ignoring certain fields on INSERT and UPDATE queries

2014-01-05 Thread Django
#21454: Ignoring certain fields on INSERT and UPDATE queries
-+-
 Reporter:  mpessas  |Owner:  mpessas
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  oracle   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by mpessas):

 The issues have been fixed so far. If I can help with writing the tests,
 let me know.

 Just for reference, the two issues I have not looked so far are how the
 changes work with model inheritance (probably there are no more changes
 needed) and the `always_refresh` option described above.

-- 
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/065.1809e7f6ca6196d2bb0e239870b32c94%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21718: Rename has_app

2014-01-05 Thread Django
#21718: Rename has_app
--+
 Reporter:  aaugustin |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Core (Other)  |  Version:  master
 Severity:  Release blocker   |   Resolution:
 Keywords:  app-loading   | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by aaugustin):

 * has_patch:  0 => 1


Comment:

 ML: https://groups.google.com/forum/#!topic/django-developers/Uj9QYEZYt7Q

 PR: https://github.com/django/django/pull/2148

-- 
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/067.974dceee674d4988eccdcb9528173cc6%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21675: Provide an AppConfig for contrib apps with a translatable verbose_name

2014-01-05 Thread Django
#21675: Provide an AppConfig for contrib apps with a translatable verbose_name
--+
 Reporter:  aaugustin |Owner:  nobody
 Type:  New feature   |   Status:  closed
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:  app-loading   | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Aymeric Augustin ):

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


Comment:

 In [changeset:"27afd302c687528ff1dc3156961e409862c6eca2"]:
 {{{
 #!CommitTicketReference repository=""
 revision="27afd302c687528ff1dc3156961e409862c6eca2"
 Fixed #21675 -- Added app configs for contrib apps.
 }}}

-- 
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/067.81caef52fe6fac09569ffae67bc0caa3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[django/django] 27afd3: Fixed #21675 -- Added app configs for contrib apps...

2014-01-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 27afd302c687528ff1dc3156961e409862c6eca2
  
https://github.com/django/django/commit/27afd302c687528ff1dc3156961e409862c6eca2
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
A django/contrib/admin/apps.py
A django/contrib/admindocs/apps.py
A django/contrib/auth/apps.py
A django/contrib/comments/apps.py
A django/contrib/contenttypes/apps.py
A django/contrib/flatpages/apps.py
A django/contrib/formtools/apps.py
A django/contrib/gis/apps.py
A django/contrib/humanize/apps.py
A django/contrib/messages/apps.py
A django/contrib/redirects/apps.py
A django/contrib/sessions/apps.py
A django/contrib/sitemaps/apps.py
A django/contrib/sites/apps.py
A django/contrib/staticfiles/apps.py
A django/contrib/syndication/apps.py
A django/contrib/webdesign/apps.py

  Log Message:
  ---
  Fixed #21675 -- Added app configs for contrib apps.


  Commit: b57c48d012e300f518841fe066c85ecde2747cdf
  
https://github.com/django/django/commit/b57c48d012e300f518841fe066c85ecde2747cdf
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
A django/contrib/sitemaps/locale/en/LC_MESSAGES/django.po
A django/contrib/staticfiles/locale/en/LC_MESSAGES/django.po
A django/contrib/syndication/locale/en/LC_MESSAGES/django.po
A django/contrib/webdesign/locale/en/LC_MESSAGES/django.po

  Log Message:
  ---
  Added catalogs for apps that didn't have any translations.


Compare: https://github.com/django/django/compare/021b0b0029cd...b57c48d012e3

-- 
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/52c9d01deaad_29371401d4c73764%40hookshot-fe2-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21699: Provide a way to define a model without being registered into AppConfig

2014-01-05 Thread Django
#21699: Provide a way to define a model without being registered into AppConfig
--+-
 Reporter:  mitar |Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:  app-loading   | Triage Stage:  Someday/Maybe
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+-

Comment (by aaugustin):

 `ModelBase.__new__` cannot return a class previously registered in the app
 registry any more.

 `get_registered_model` is still used in `ModelSignal.connect` and in
 `add_lazy_relation`. In both cases it triggers different code paths
 depending on whether the target model was already created and its
 `class_prepared` signal was sent.

-- 
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/063.5124215889fca5dabb88b5184dd622ca%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[django/django] 021b0b: Added an app-loading feature to the release notes.

2014-01-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 021b0b0029cdecc528a137a5e6913be81c901504
  
https://github.com/django/django/commit/021b0b0029cdecc528a137a5e6913be81c901504
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M docs/releases/1.7.txt

  Log Message:
  ---
  Added an app-loading feature to the release notes.


-- 
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/52c9bc458c401_28ab96bd4c95686%40hookshot-fe2-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21734: Admin doesn't catch ProtectedError

2014-01-05 Thread Django
#21734: Admin doesn't catch ProtectedError
---+--
 Reporter:  sander@…   |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--
Changes (by steffann):

 * cc: steffann (added)
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


-- 
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/076.cb38e6d5898ba089f73fa6e8a930add3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21734: Admin doesn't catch ProtectedError

2014-01-05 Thread Django
#21734: Admin doesn't catch ProtectedError
---+
 Reporter:  sander@…   |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  contrib.admin  |Version:  master
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  1
Easy pickings:  1  |  UI/UX:  0
---+
 When deleting objects through the admin interface ProtectedError
 exceptions aren't handled. This patch catches such exceptions and displays
 an error message instead.

-- 
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/061.f58ad6ca3566ce6d6c05f4a05730cdd5%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21711: Check for duplicate model names

2014-01-05 Thread Django
#21711: Check for duplicate model names
--+
 Reporter:  aaugustin |Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:  app-loading   | Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Aymeric Augustin ):

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


Comment:

 In [changeset:"f630373b929bc62bf4d66d60c532f7832e5fbe67"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f630373b929bc62bf4d66d60c532f7832e5fbe67"
 Fixed #21711 -- Enforced unicity of model names.
 }}}

-- 
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/067.ecd8f5801a8d3cb1744a55db54c90bdc%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[django/django] a7588e: Removed useless model definitions.

2014-01-05 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: a7588e2e220bab47bf18601b173d6bfd429f5931
  
https://github.com/django/django/commit/a7588e2e220bab47bf18601b173d6bfd429f5931
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M tests/admin_views/admin.py
M tests/defer_regress/models.py

  Log Message:
  ---
  Removed useless model definitions.

Surprisingly, this commit doesn't change any behavior at all. When a
model is defined with the same name as another model in the same app,
the definition of the first class is bound to the name of the class
regardless of the definition of the second class.


  Commit: d4b059d3eb2850f43a06162c8316777cb1681d7b
  
https://github.com/django/django/commit/d4b059d3eb2850f43a06162c8316777cb1681d7b
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M tests/app_loading/not_installed/models.py

  Log Message:
  ---
  Fixed test for models in non-installed apps.

Models are now attached to any application they're defined in. Since
not_installed was inside app_loading, these models were mistakenly
attached to app_loading. The test that used them passed accidentally
when run after EggLoadingTest because that class' tearDown() method
replaces apps.all_models['app_loading'] by a copy of itself, while
it should remain the same as apps.app_configs['app_loading'].models.


  Commit: 5d9da7597ebae302ba15c0ee85aaece80a6d4926
  
https://github.com/django/django/commit/5d9da7597ebae302ba15c0ee85aaece80a6d4926
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M tests/app_loading/tests.py

  Log Message:
  ---
  Fixed app registry cleanup in app-loading tests.


  Commit: f5f761716731ceedaf165a068e6f88164cd87e79
  
https://github.com/django/django/commit/f5f761716731ceedaf165a068e6f88164cd87e79
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M tests/forms_tests/tests/tests.py

  Log Message:
  ---
  Renamed a couple models to prevent duplicate names.


  Commit: f630373b929bc62bf4d66d60c532f7832e5fbe67
  
https://github.com/django/django/commit/f630373b929bc62bf4d66d60c532f7832e5fbe67
  Author: Aymeric Augustin 
  Date:   2014-01-05 (Sun, 05 Jan 2014)

  Changed paths:
M django/apps/registry.py
M django/db/models/base.py
M django/db/models/query_utils.py
M docs/releases/1.7.txt

  Log Message:
  ---
  Fixed #21711 -- Enforced unicity of model names.


Compare: https://github.com/django/django/compare/2692a0c6217b...f630373b929b

-- 
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/52c9b88ac7870_291394bd585435%40hookshot-fe2-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.