Changes between Initial Version and Version 1 of Ticket #27359, comment 13


Ignore:
Timestamp:
Jan 31, 2017, 4:05:35 AM (8 years ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27359, comment 13

    initial v1  
    11[[https://github.com/django/django/pull/8000 PR]
    22
    3     Adds a failing test case for the issue and a naive fix.
    4    
    5     Here we just take the first DTL engine returned. Users should employ collections.OrderedDict if they need to control this prior to Python 3.6.
    6     Need to add a note to the docs to that effect if the patch is acceptable.
    7    
    8     Alternative proposals:
    9    
    10     Have a naming convention. e.g. pick engine named 'default'
    11     Add a specific OPTION to the config dict.
    12     This is something of an edge case, and so, (IMO) 'pick the first' should be sufficient.
     3> Adds a failing test case for the issue and a naive fix.
     4>   
     5> Here we just take the first DTL engine returned. Users should employ collections.OrderedDict if they need to control this prior to Python 3.6.
     6> Need to add a note to the docs to that effect if the patch is acceptable.
     7>   
     8> Alternative proposals:
     9>   
     10> Have a naming convention. e.g. pick engine named 'default'
     11> Add a specific OPTION to the config dict.
     12>
     13> This is something of an edge case, and so, (IMO) 'pick the first' should be sufficient.
Back to Top