Changes between Initial Version and Version 1 of Ticket #35730, comment 15


Ignore:
Timestamp:
Jan 31, 2025, 7:35:32 PM (12 days ago)
Author:
Adam

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35730, comment 15

    initial v1  
    1 If the pull request is not going to get merged then maybe a good compromise would be moving [the logic for encoding the user's primary key][https://github.com/django/django/blob/5.1.5/django/contrib/auth/forms.py#L481] into its own function so that it's easier to override in a subclass. The logic for decoding the user's primary key is already easy to override in a subclass.
     1If the pull request is not going to get merged then maybe a good compromise would be moving [https://github.com/django/django/blob/5.1.5/django/contrib/auth/forms.py#L481 the logic for encoding the user's primary key] into its own function so that it's easier to override in a subclass. The logic for decoding the user's primary key is already easy to override in a subclass.
Back to Top