diff --git a/templates/local_settings.py.erb b/templates/local_settings.py.erb index 267cc2bb..a05f6375 100644 --- a/templates/local_settings.py.erb +++ b/templates/local_settings.py.erb @@ -237,7 +237,6 @@ CACHES = { 'BACKEND': '<%= @cache_backend %>', <%- if @cache_server_ip and !(@cache_server_ip.empty?) -%> <%- if @cache_server_ip_real.kind_of?(Array) -%> - <%- split = ":" + @cache_server_port + "','" -%> 'LOCATION': [ <% @cache_server_ip_real.each do |ip| -%>'<%= ip -%>:<%= @cache_server_port -%>',<% end -%> ], <%- else -%> 'LOCATION': '<%= @cache_server_ip_real %>:<%= @cache_server_port %>',