Re: [Django] #34110: Add InMemoryStorage

2022-12-15 Thread Django
#34110: Add InMemoryStorage
-+-
 Reporter:  Josh |Owner:  Francesco
 |  Panico
 Type:  New feature  |   Status:  assigned
Component:  File |  Version:  dev
  uploads/storage|
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_better_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/0107018519c13b04-4ee4c277-b182-46a7-ba33-7aa0c408083b-00%40eu-central-1.amazonses.com.


Re: [Django] #34212: Redis cache client uses a read connection for incr operation

2022-12-15 Thread Django
#34212: Redis cache client uses a read connection for incr operation
-+
 Reporter:  Ilari Sahi   |Owner:  Leo Tom
 Type:  Bug  |   Status:  assigned
Component:  Core (Cache system)  |  Version:  4.1
 Severity:  Normal   |   Resolution:
 Keywords:  redis cache incr | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+
Changes (by Mariusz Felisiak):

 * needs_tests:  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/010701851988b10c-481c189b-2b2f-4fcf-bf98-7a26b28a36bb-00%40eu-central-1.amazonses.com.


Re: [Django] #34214: Bug in default for TimeField when using a timezone

2022-12-15 Thread Django
#34214: Bug in default for TimeField when using a timezone
-+-
 Reporter:  Pierre Anquetil  |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 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 Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  Uncategorized => Database layer (models, ORM)
 * type:  Uncategorized => New feature


Comment:

 It's [https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#naive-
 and-aware-datetime-objects documented] that: ''"Django only supports naive
 time objects and will raise an exception if you attempt to save an aware
 time object, as a timezone for a time with no associated date does not
 make sense."''

 Duplicate of #18691 (see also #26183).

-- 
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/01070185196c78f1-932add5e-3fb8-4042-a618-4e534aee618b-00%40eu-central-1.amazonses.com.


Re: [Django] #34215: Regression for autocomplete_fields in admin

2022-12-15 Thread Django
#34215: Regression for autocomplete_fields in admin
-+--
 Reporter:  Pierre Anquetil  |Owner:  nobody
 Type:  Uncategorized|   Status:  closed
Component:  contrib.admin|  Version:  4.1
 Severity:  Normal   |   Resolution:  worksforme
 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 Mariusz Felisiak):

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


Comment:

 Thanks for this ticket, however it works for me on both browsers.

-- 
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/010701851967574b-af11e065-3058-4174-afe5-142e03d48c99-00%40eu-central-1.amazonses.com.


Re: [Django] #34212: Redis cache client uses a read connection for incr operation

2022-12-15 Thread Django
#34212: Redis cache client uses a read connection for incr operation
-+
 Reporter:  Ilari Sahi   |Owner:  Leo Tom
 Type:  Bug  |   Status:  assigned
Component:  Core (Cache system)  |  Version:  4.1
 Severity:  Normal   |   Resolution:
 Keywords:  redis cache incr | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+
Changes (by Leo Tom):

 * 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/0107018519170ca6-faeb2018-dfbc-48cd-9c60-75d39b0e42ad-00%40eu-central-1.amazonses.com.


Re: [Django] #34215: Regression for autocomplete_fields in admin

2022-12-15 Thread Django
#34215: Regression for autocomplete_fields in admin
-+--
 Reporter:  Pierre Anquetil  |Owner:  nobody
 Type:  Uncategorized|   Status:  new
Component:  contrib.admin|  Version:  4.1
 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 Pierre Anquetil):

 * Attachment "admin django 3.1.png" added.


-- 
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/0107018518b9e840-e1b9e161-461f-4f90-ab20-3c1bbabf3aea-00%40eu-central-1.amazonses.com.


Re: [Django] #34215: Regression for autocomplete_fields in admin

2022-12-15 Thread Django
#34215: Regression for autocomplete_fields in admin
-+--
 Reporter:  Pierre Anquetil  |Owner:  nobody
 Type:  Uncategorized|   Status:  new
Component:  contrib.admin|  Version:  4.1
 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 Pierre Anquetil):

 * Attachment "admin django 4.1.png" added.


-- 
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/0107018518b9ffdf-cd07061f-e79d-46a6-a2d3-206300e5d8c5-00%40eu-central-1.amazonses.com.


[Django] #34215: Regression for autocomplete_fields in admin

2022-12-15 Thread Django
#34215: Regression for autocomplete_fields in admin
---+
   Reporter:  Pierre Anquetil  |  Owner:  nobody
   Type:  Uncategorized| Status:  new
  Component:  contrib.admin|Version:  4.1
   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|
---+
 Hi !

 For autocomplete_fields, there has been a regression between django 3.1
 and 4.1, on google Chrome. (But on firefox it's ok).

 In image it's easier to explain :

-- 
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/0107018518b9ae36-c92999c7-1558-432f-b34c-7ba5f3a6cc6b-00%40eu-central-1.amazonses.com.


[Django] #34214: Bug in default for TimeField when using a timezone

2022-12-15 Thread Django
#34214: Bug in default for TimeField when using a timezone
--+
   Reporter:  PierreAnquetil  |  Owner:  nobody
   Type:  Uncategorized   | Status:  new
  Component:  Uncategorized   |Version:  4.1
   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   |
--+
 Hi !

 In Python, a datetime.time instance can have a timezone.

 For a Timefield model in Django, which represents a datetime.time
 instance, it should be logic to use a datetime.time to set a default.

 In fact, it's partially possible :

 models.TimeField(null=False,blank=False,default=time(18,30,0,0,None)) or
 models.TimeField(null=False,blank=False,default=time(18,30,0,0)) works

 But when you want to use a timezone on your default, it does not work :
 
models.TimeField(null=False,blank=False,default=time(18,30,0,0,tz.gettz('Europe/Paris')))
 dont works.

 In Django 3.1, the error was that it was not possible to use <= between
 timefieldand Datetimefield. So i guess the error was that when setting a
 timezone on a time, when the default of timefield had a timezone set,
 django was converting it in a datetimefield.


 In Django 4.1, the error message changed : NameError  : name 'tzfile' is
 not defined.
 In my models.py, i use :
 from dateutil import tz
 ...
 
heure_midi=models.TimeField(null=False,blank=False,default=time(18,30,0,0,tz.gettz('Europe/Paris')))

 It's transformed in the migration in :

 import datetime
 ...

 migrations.AddField(
 model_name='restaurant',
 name='heure_soir',
 field=models.TimeField(default=datetime.time(18, 30,
 tzinfo=tzfile('Europe/Paris'))),
 ),

 the import datetime works, but there is no import tz or anything, and the
 tz.gettz has been changed in "tzfile"

-- 
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/01070185188637f0-0f1d91e3-ebf9-4da2-aaf8-c8018a3bbcb1-00%40eu-central-1.amazonses.com.


Re: [Django] #34110: Add InMemoryStorage

2022-12-15 Thread Django
#34110: Add InMemoryStorage
-+-
 Reporter:  Josh |Owner:  Francesco
 |  Panico
 Type:  New feature  |   Status:  assigned
Component:  File |  Version:  dev
  uploads/storage|
 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 Francesco Panico):

 * needs_tests:  1 => 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/01070185181d20e7-4052bcfe-cef8-4490-a3c7-527a3dc65cda-00%40eu-central-1.amazonses.com.


Re: [Django] #34041: Accessibility improvements for admin breadcrumbs

2022-12-15 Thread Django
#34041: Accessibility improvements for admin breadcrumbs
-+-
 Reporter:  Thibaud Colas|Owner:  Jerry Wan
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  contrib.admin|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  accessibility,   | Triage Stage:  Accepted
  landmarks, ARIA|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Jerry Wan):

 * owner:  (none) => Jerry Wan
 * 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018517c556e6-c37fe6d3-45b3-46bb-98b5-64326070037f-00%40eu-central-1.amazonses.com.


Re: [Django] #33662: Choose which items are displayed per language in Sitemap

2022-12-15 Thread Django
#33662: Choose which items are displayed per language in Sitemap
--+
 Reporter:  Roxane|Owner:  Roxane
 Type:  New feature   |   Status:  assigned
Component:  contrib.sitemaps  |  Version:  4.0
 Severity:  Normal|   Resolution:
 Keywords:  sitemap   | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Mariusz Felisiak):

 * needs_better_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/0107018516145399-2115441e-f485-473d-ae74-0e4485eaf96a-00%40eu-central-1.amazonses.com.


Re: [Django] #14094: Cannot define CharField with unlimited length

2022-12-15 Thread Django
#14094: Cannot define CharField with unlimited length
-+-
 Reporter:  Daniel Miller|Owner:  Adrian
 |  Torres
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_better_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/0107018515dd918b-e156310f-afca-4396-a8ad-c7100578070b-00%40eu-central-1.amazonses.com.


Re: [Django] #34110: Add InMemoryStorage

2022-12-15 Thread Django
#34110: Add InMemoryStorage
-+-
 Reporter:  Josh |Owner:  Francesco
 |  Panico
 Type:  New feature  |   Status:  assigned
Component:  File |  Version:  dev
  uploads/storage|
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_tests:  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/0107018515b90aed-88f53f71-ab1d-4d65-9c9b-ec31906dcbd4-00%40eu-central-1.amazonses.com.