prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Enable Adobe DTM for Analytics (closes #160)
  This embeds the code but Adobe’s instructions violate web
  performance guidelines and we should review this carefully
  to see how much Adobe is affecting site performance.
  
  </issue>
  <code>
  [start of concordia/context_processors.py]
  1 from django.conf import settings
  2 
  3 
  4 def system_configuration(request):
  5     """
  6     Expose some system configuration to the default template context
  7     """
  8 
  9     return {"SENTRY_PUBLIC_DSN": getattr(settings, "SENTRY_PUBLIC_DSN", None)}
  10 
  11 
  12 def site_navigation(request):
  13     data = {"VIEW_NAME": request.resolver_match.view_name}
  14 
  15     data["VIEW_NAME_FOR_CSS"] = data["VIEW_NAME"].replace(":", "--")
  16 
  17     path_components = request.path.strip("/").split("/")
  18     for i, component in enumerate(path_components, start=1):
  19         data["PATH_LEVEL_%d" % i] = component
  20 
  21     return data
  22
  [end of concordia/context_processors.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/concordia/context_processors.py b/concordia/context_processors.py
  --- a/concordia/context_processors.py
  +++ b/concordia/context_processors.py
  @@ -6,7 +6,10 @@
       Expose some system configuration to the default template context
       """
   
  -    return {"SENTRY_PUBLIC_DSN": getattr(settings, "SENTRY_PUBLIC_DSN", None)}
  +    return {
  +        "SENTRY_PUBLIC_DSN": getattr(settings, "SENTRY_PUBLIC_DSN", None),
  +        "CONCORDIA_ENVIRONMENT": settings.CONCORDIA_ENVIRONMENT,
  +    }
   
   
   def site_navigation(request):
  
verification_info: {"golden_diff": "diff --git a/concordia/context_processors.py b/concordia/context_processors.py\n--- a/concordia/context_processors.py\n+++ b/concordia/context_processors.py\n@@ -6,7 +6,10 @@\n     Expose some system configuration to the default template context\n     \"\"\"\n \n-    return {\"SENTRY_PUBLIC_DSN\": getattr(settings, \"SENTRY_PUBLIC_DSN\", None)}\n+    return {\n+        \"SENTRY_PUBLIC_DSN\": getattr(settings, \"SENTRY_PUBLIC_DSN\", None),\n+        \"CONCORDIA_ENVIRONMENT\": settings.CONCORDIA_ENVIRONMENT,\n+    }\n \n \n def site_navigation(request):\n", "issue": "Enable Adobe DTM for Analytics (closes #160)\nThis embeds the code but Adobe\u2019s instructions violate web\r\nperformance guidelines and we should review this carefully\r\nto see how much Adobe is affecting site performance.\n", "before_files": [{"content": "from django.conf import settings\n\n\ndef system_configuration(request):\n    \"\"\"\n    Expose some system configuration to the default template context\n    \"\"\"\n\n    return {\"SENTRY_PUBLIC_DSN\": getattr(settings, \"SENTRY_PUBLIC_DSN\", None)}\n\n\ndef site_navigation(request):\n    data = {\"VIEW_NAME\": request.resolver_match.view_name}\n\n    data[\"VIEW_NAME_FOR_CSS\"] = data[\"VIEW_NAME\"].replace(\":\", \"--\")\n\n    path_components = request.path.strip(\"/\").split(\"/\")\n    for i, component in enumerate(path_components, start=1):\n        data[\"PATH_LEVEL_%d\" % i] = component\n\n    return data\n", "path": "concordia/context_processors.py"}]}