Input:
TEMPLATES = [{ "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": [ "/some/path/to/some/example/directory", ], "APP_DIRS": True, "OPTIONS": { "context_processors": [ "django.template.context_processors.debug", "django.template.context_processors.request", "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", ], }, }]
Output:
TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": ["/some/path/to/some/example/directory"], "APP_DIRS": True, "OPTIONS": { "context_processors": [ "django.template.context_processors.debug", "django.template.context_processors.request", "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", ], }, }, ]
I don't know anyone who formats dict values like this and it feels very unnatural.
Looks like this might be addressed some by #52
It looks like #52 won't actually resolve this issue, but it should be fairly trivial to resolve this once #52 lands. I don't want to add it to that PR since that PR is big enough as is :/ But I will go ping that PR;)
Activity
jleclanche commented on Mar 16, 2018
Looks like this might be addressed some by #52
FuegoFro commented on Mar 22, 2018
It looks like #52 won't actually resolve this issue, but it should be fairly trivial to resolve this once #52 lands. I don't want to add it to that PR since that PR is big enough as is :/ But I will go ping that PR;)