View Issue Details

IDProjectCategoryView StatusLast Update
0005156Talere-commerce integrationspublic2023-12-03 01:26
ReporterMarcello Stanisci Assigned ToMarcello Stanisci  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005156: settings.py missing
Descriptiondjango-payments does not have a dedicated settings.py. This is a problem when one wants to update .po files.

In fact, without a settings.py it is not possible to figure out where the various <LANG> subdirectories are, so we have to manually specify every <LANG> when running the updating script, which is:

  django-admin makemessages -l <LANG>.

By having a settings.py, we can specify in it where is the 'locale' directory and save us from providing the -l option; in the following way:

  # from settings.py
  LOCALE_PATHS = [os.path.join(PROJECT_ROOT, 'locale')]
TagsNo tags attached.

Activities

Marcello Stanisci

2019-02-14 16:09

reporter   ~0013776

It is already hard by itself to get the pull request accepted, let alone if we propose architectural changes. So to keep things simple, I will just close this issue.

Issue History

Date Modified Username Field Change
2017-10-20 14:25 Marcello Stanisci New Issue
2017-10-23 10:22 Christian Grothoff Assigned To => Marcello Stanisci
2017-10-23 10:22 Christian Grothoff Status new => assigned
2019-02-14 16:09 Marcello Stanisci Note Added: 0013776
2019-02-14 16:10 Marcello Stanisci Status assigned => resolved
2019-02-14 16:10 Marcello Stanisci Resolution open => no change required
2019-02-17 22:27 Christian Grothoff Status resolved => closed
2019-02-17 22:27 Christian Grothoff Resolution no change required => won't fix
2019-02-17 22:27 Christian Grothoff Product Version => git (master)
2019-02-17 22:27 Christian Grothoff Fixed in Version => 0.6
2019-02-17 22:27 Christian Grothoff Target Version => 0.6
2023-12-03 01:26 Christian Grothoff Category django-payments => e-commerce integrations