Changes between Initial Version and Version 1 of Ticket #32292
- Timestamp:
- Dec 21, 2020, 1:44:58 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32292 – Description
initial v1 17 17 At the moment it can be added like this: 18 18 19 ``` 19 {{{#!python 20 20 DATABASES = { 21 21 'default': { … … 25 25 } 26 26 } 27 ``` 27 }}} 28 28 29 29 Which works, however it involves repeating the database name. I don't think the database name should be repeated twice because it couples the config and the service file together, and makes it harder to just move it between different environments. I think ideally you would just specify the service, either like this: 30 30 31 ``` 31 {{{#!python 32 32 DATABASES = { 33 33 'default': { … … 36 36 } 37 37 } 38 ``` 38 }}} 39 39 40 40 Or maybe a better way would be?: 41 41 42 ``` 42 {{{#!python 43 43 DATABASES = { 44 44 'default': { … … 47 47 } 48 48 } 49 ``` 49 }}} 50 50 51 51 It seems like something that would be super easy to add. I don't mind creating a pull request for it, but would like to know why it hasn't been added, and how it would be recommended to add it.