Opened 6 months ago

Closed 6 months ago

#33654 closed Cleanup/optimization (fixed)

Missed function in __all__ in timezone.py

Reported by: Andrey Otto Owned by: Andrey Otto
Component: Utilities Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Carlton Gibson)

In some reason in timezone.py file missed localdate() function in __all__ list. Because of this PyCharm (for example) highlights import of localdate.

https://code.djangoproject.com/raw-attachment/ticket/33654/django_pycharm.png

Attachments (1)

django_pycharm.png (4.0 KB) - added by Andrey Otto 6 months ago.

Download all attachments as: .zip

Change History (8)

Changed 6 months ago by Andrey Otto

Attachment: django_pycharm.png added

comment:1 Changed 6 months ago by Carlton Gibson

Owner: changed from Andrey Otto to Carlton Gibson
Triage Stage: UnreviewedAccepted

OK, yep, it's documented, so should likely be included in __all__. Thanks

comment:2 Changed 6 months ago by Carlton Gibson

Has patch: set

comment:3 Changed 6 months ago by Carlton Gibson

Already there Andrey. PR 🙂

comment:4 Changed 6 months ago by Carlton Gibson

Owner: changed from Carlton Gibson to Andrey Otto

comment:5 Changed 6 months ago by Carlton Gibson

Triage Stage: AcceptedReady for checkin

comment:6 Changed 6 months ago by Carlton Gibson

Description: modified (diff)

comment:7 Changed 6 months ago by GitHub <noreply@…>

Resolution: fixed
Status: assignedclosed

In 420d13e:

Fixed #33654 -- Added localdate to utils.timezone.all.

Note: See TracTickets for help on using tickets.
Back to Top