Re: [Django] #30674: Autoreload fails to restart server when exception is SyntaxError. (was: Autoreload fails to restart runserver when exception is django.core.exceptions.ImproperlyConfigured.)

2019-08-04 Thread Django
#30674: Autoreload fails to restart server when exception is SyntaxError.
-+-
 Reporter:  Peter J. Farrell |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  autoreload watchman  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.5bea402f4a65cc4217748cee73d9453f%40djangoproject.com.


Re: [Django] #30674: Autoreload fails to restart runserver when exception is django.core.exceptions.ImproperlyConfigured. (was: Autoreload fails to restart runserver when exception is django.core.exce

2019-08-04 Thread Django
#30674: Autoreload fails to restart runserver when exception is
django.core.exceptions.ImproperlyConfigured.
-+-
 Reporter:  Peter J. Farrell |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  autoreload watchman  | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by felixxm):

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


Comment:

 Duplicate of #30500. It would be great if you could provide the point
 release of Python 3.5 in the original ticket.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.89f1c2c3952b7e441b2617778276a06e%40djangoproject.com.


Re: [Django] #30677: Improve Exception Message In Test Client when a None Value is provided to a POST. (was: Improve Exception Message In Test Client when a None Value is provided to a POST)

2019-08-04 Thread Django
#30677: Improve Exception Message In Test Client when a None Value is provided 
to a
POST.
--+
 Reporter:  Keith Gray|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Testing framework |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:  test client post  | Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by felixxm):

 * has_patch:  1 => 0
 * version:  2.2 => master


Comment:

 I agree with Markus' suggestion. Can you create PR via GitHub?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bf98def0f8ac286b7b36835b80d57824%40djangoproject.com.


Re: [Django] #30676: Add a --pdb option to the test runner

2019-08-04 Thread Django
#30676: Add a --pdb option to the test runner
-+-
 Reporter:  Andrew Godwin|Owner:  Andrew
 |  Godwin
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Andrew Godwin):

 * has_patch:  0 => 1


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.cec9a65bdac515b4cb8ee80429fd363e%40djangoproject.com.


Re: [Django] #30676: Add a --pdb option to the test runner

2019-08-04 Thread Django
#30676: Add a --pdb option to the test runner
-+-
 Reporter:  Andrew Godwin|Owner:  Andrew
 |  Godwin
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Andrew Godwin):

 Agreed - I have opened a [https://github.com/django/django/pull/11629 PR]
 with my solution for this.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.203865b30ab5e689a7d5ef5023712d70%40djangoproject.com.


Re: [Django] #30676: Add a --pdb option to the test runner

2019-08-04 Thread Django
#30676: Add a --pdb option to the test runner
-+-
 Reporter:  Andrew Godwin|Owner:  Andrew
 |  Godwin
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Andrew Godwin):

 * status:  new => assigned
 * owner:  nobody => Andrew Godwin


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.9c0cf785f8585cb19ba64e9c5a399cec%40djangoproject.com.


Re: [Django] #30677: Improve Exception Message In Test Client when a None Value is provided to a POST

2019-08-04 Thread Django
#30677: Improve Exception Message In Test Client when a None Value is provided 
to a
POST
--+
 Reporter:  Keith Gray|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Testing framework |  Version:  2.2
 Severity:  Normal|   Resolution:
 Keywords:  test client post  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Markus Holtermann):

 * stage:  Unreviewed => Accepted


Comment:

 I like your suggestion. I would suggest a slightly different wording:
 {{{#!python
 raise TypeError(
 "Cannot encode None for key '%s' as POST data. Did you
 mean "
 "to pass an empty string or omit the value?" % key
 )
 }}}

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.58240b11367bcfcde4f510a8d1ac19b2%40djangoproject.com.


Re: [Django] #30676: Add a --pdb option to the test runner

2019-08-04 Thread Django
#30676: Add a --pdb option to the test runner
---+
 Reporter:  Andrew Godwin  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Simon Charette):

 * type:  Uncategorized => New feature
 * stage:  Unreviewed => Accepted


Comment:

 We should probably make the option default to `ipdb` if it's installed
 like we do with `manage.py shell` for IPython.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.d5bc06846297f57e978a76cbe7bf55b4%40djangoproject.com.


Re: [Django] #30677: Improve Exception Message In Test Client when a None Value is provided to a POST

2019-08-04 Thread Django
#30677: Improve Exception Message In Test Client when a None Value is provided 
to a
POST
-+-
 Reporter:  idahogray|Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Testing framework|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:  test client post | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by idahogray):

 * has_patch:  0 => 1


Old description:

> I am upgrading to 2.2.1 from 2.0.5 and my tests are failing due to a
> change in the test client:
> https://docs.djangoproject.com/en/2.2/releases/2.2/#miscellaneous. It now
> throws an exception if a None value is provided in data given to a POST.
> I would like to propose an improvement to the message to display the
> offending Key and Value that generate the exception.

New description:

 I am upgrading to 2.2.1 from 2.0.5 and my tests are failing due to a
 change in the test client:
 https://docs.djangoproject.com/en/2.2/releases/2.2/#miscellaneous. It now
 throws an exception if a None value is provided in data given to a POST. I
 would like to propose an improvement to the message to display the
 offending Key and Value that generate the exception.

 I have a proposed change in my fork on github:
 https://github.com/idahogray/django/tree/ticket_30677

--

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.881da481321c2c0b4f97e3ee436d2e26%40djangoproject.com.


[Django] #30677: Improve Exception Message In Test Client when a None Value is provided to a POST

2019-08-04 Thread Django
#30677: Improve Exception Message In Test Client when a None Value is provided 
to a
POST
-+-
   Reporter:  idahogray  |  Owner:  nobody
   Type: | Status:  new
  Cleanup/optimization   |
  Component:  Testing|Version:  2.2
  framework  |
   Severity:  Normal |   Keywords:  test client post
   Triage Stage: |  Has patch:  0
  Unreviewed |
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 I am upgrading to 2.2.1 from 2.0.5 and my tests are failing due to a
 change in the test client:
 https://docs.djangoproject.com/en/2.2/releases/2.2/#miscellaneous. It now
 throws an exception if a None value is provided in data given to a POST. I
 would like to propose an improvement to the message to display the
 offending Key and Value that generate the exception.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.61c15af61e229fec42475077d3865164%40djangoproject.com.


[Django] #30676: Add a --pdb option to the test runner

2019-08-04 Thread Django
#30676: Add a --pdb option to the test runner
-+
   Reporter:  Andrew Godwin  |  Owner:  nobody
   Type:  Uncategorized  | Status:  new
  Component:  Testing framework  |Version:  master
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 The Django test runner currently does not offer a {{{--pdb}}} option like
 pytest (which, when a test fails, pops open a PDB debugger at that
 location). This would be incredibly valuable for debugging tests, and I
 feel we should add it.

 Because of the multi-process nature of the test runner, this would only be
 possible if we were running with {{{--parallel=1}}}.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.215c4d98169719191dc0d74b004c0dc1%40djangoproject.com.


Re: [Django] #30675: Ignore ACCEPT_LANGUAGE header only on i18n prefixed url patterns

2019-08-04 Thread Django
#30675: Ignore ACCEPT_LANGUAGE header only on i18n prefixed url patterns
-+-
 Reporter:  Janez Kranjc |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:   |  Version:  master
  Internationalization   |
 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 Janez Kranjc):

 * version:  2.2 => master


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.5c74b2286e964a7fec87d189e9a093e9%40djangoproject.com.