Changes between Initial Version and Version 1 of Ticket #34239


Ignore:
Timestamp:
Jan 2, 2023, 3:37:01 PM (18 months ago)
Author:
Aldo Mateli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34239 – Description

    initial v1  
    1 In this ticket I'd like to propose a new which loads models from parameter information. A common pattern in views is to have a primary key or candidate key to locate a specific record via get_object_or_404.
     1In this ticket I'd like to propose a new feature which loads models from parameter information. A common pattern in views is to have a primary key or candidate key to locate a specific record via get_object_or_404.
    22
    33What I'd like to propose is to allow users to type-hint a specific parameter and have django load the object automatically or throw 404 if it doesn't exist.
Back to Top