Re: [Django] #30232: Correct the error message for the invalid DurationField

2019-03-03 Thread Django
#30232: Correct the error message for the invalid DurationField
-+-
 Reporter:  Aidas Bendoraitis|Owner:  avas9366
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  2.2
  (models, ORM)  |
 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:  1
-+-
Changes (by avas9366):

 * has_patch:  0 => 1


Comment:

 I have created a pull request # 11049.

-- 
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/066.ae32be8ad73fd40f9312f3bd1cad26b3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30232: Correct the error message for the invalid DurationField

2019-03-03 Thread Django
#30232: Correct the error message for the invalid DurationField
-+-
 Reporter:  Aidas Bendoraitis|Owner:  avas9366
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  2.2
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-
Changes (by avas9366):

 * owner:  nobody => avas9366
 * status:  new => assigned


-- 
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/066.e1a48f7c13e4aa05c7f8cf821455f90a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #30232: Correct the error message for the invalid DurationField

2019-03-02 Thread Django
#30232: Correct the error message for the invalid DurationField
-+-
   Reporter:  Aidas  |  Owner:  nobody
  Bendoraitis|
   Type:  Bug| Status:  new
  Component:  Database   |Version:  2.2
  layer (models, ORM)|
   Severity:  Normal |   Keywords:
   Triage Stage: |  Has patch:  0
  Unreviewed |
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  1
  UI/UX:  1  |
-+-
 If you enter a duration "14:00" into a duration field, it translates to
 "00:14:00" which is 14 minutes.

 The current error message for invalid DurationField says that this should
 be the format of durations: "[DD] [HH:[MM:]]ss[.uu]". But according to
 the actual behaviour, it should be: "[DD] [[HH:]MM:]ss[.uu]", because
 seconds are mandatory, minutes are optional, and hours are optional if
 minutes are provided.

 This seems to be a mistake in all Django versions that support the
 DurationField.

 Also the duration fields could have a default help_text with the requested
 format, because the syntax is not self-explanatory.

-- 
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/051.b7c915703a1ace22ddfa2c8fef392704%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.