prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Custom stylesheets for Akvo pages missing
  The custom CSS that can be uploaded to an Akvo page site is currently not served.
  
  This is due to the link to it accidentally being removed when the main stylesheet for RSR was supplemented with a second sheet for the new Results.
  
  </issue>
  <code>
  [start of akvo/rsr/context_processors.py]
  1 # -*- coding: utf-8 -*-
  2 """
  3 Akvo RSR is covered by the GNU Affero General Public License.
  4 
  5 See more details in the license.txt file located at the root folder of the
  6 Akvo RSR module. For additional details on the GNU license please see
  7 < http://www.gnu.org/licenses/agpl.html >.
  8 """
  9 
  10 import django
  11 
  12 from django.conf import settings
  13 from django.core.exceptions import DisallowedHost
  14 from django.contrib.sites.models import get_current_site
  15 
  16 
  17 def extra_context(request, protocol="http"):
  18     """Add information to the request context."""
  19     try:
  20         current_site = get_current_site(request)
  21     except DisallowedHost:
  22         current_site = None
  23 
  24     django_version = django.get_version()
  25     debug = getattr(settings, 'DEBUG', False)
  26     deploy_tag = getattr(settings, 'DEPLOY_TAG', 'Unknown')
  27     deploy_branch = getattr(settings, 'DEPLOY_BRANCH', 'Unknown')
  28     deploy_commit_id = getattr(settings, 'DEPLOY_COMMIT_ID', 'Unknown')
  29     deploy_commit_full_id = getattr(settings, 'DEPLOY_COMMIT_FULL_ID', 'Unknown')
  30 
  31     return dict(
  32         current_site=current_site,
  33         django_version=django_version,
  34         debug=debug,
  35         deploy_tag=deploy_tag,
  36         deploy_branch=deploy_branch,
  37         deploy_commit_id=deploy_commit_id,
  38         deploy_commit_full_id=deploy_commit_full_id
  39     )
  40 
  41 
  42 def get_current_path_without_lang(request):
  43     """Return current path without lang."""
  44     path = request.get_full_path()
  45     path_bits = path.split('/')
  46     path = '/'.join(path_bits[2:])
  47     return {'current_path_without_lang': path}
  48 
  49 
  50 def extra_pages_context(request):
  51     """Add context information of an RSR Page."""
  52     if request.rsr_page:
  53         page = request.rsr_page
  54         return {
  55             'rsr_page': page,
  56             'favicon': page.favicon,
  57             'logo': page.logo,
  58             'organisation': page.organisation,
  59             'return_url': page.return_url,
  60             'return_url_text': page.custom_return_url_text,
  61             'stylesheet': page.stylesheet,
  62             'akvoapp_root_url': '//{}'.format(settings.AKVOAPP_DOMAIN),
  63             'domain_url': '//{}'.format(settings.RSR_DOMAIN),
  64             'no_facebook': not page.facebook_button,
  65             'facebook_app_id': page.facebook_app_id,
  66             'no_twitter': not page.twitter_button,
  67         }
  68 
  69     return {}
  70
  [end of akvo/rsr/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/akvo/rsr/context_processors.py b/akvo/rsr/context_processors.py
  --- a/akvo/rsr/context_processors.py
  +++ b/akvo/rsr/context_processors.py
  @@ -58,7 +58,7 @@
               'organisation': page.organisation,
               'return_url': page.return_url,
               'return_url_text': page.custom_return_url_text,
  -            'stylesheet': page.stylesheet,
  +            'page_stylesheet': page.stylesheet,
               'akvoapp_root_url': '//{}'.format(settings.AKVOAPP_DOMAIN),
               'domain_url': '//{}'.format(settings.RSR_DOMAIN),
               'no_facebook': not page.facebook_button,
  
verification_info: {"golden_diff": "diff --git a/akvo/rsr/context_processors.py b/akvo/rsr/context_processors.py\n--- a/akvo/rsr/context_processors.py\n+++ b/akvo/rsr/context_processors.py\n@@ -58,7 +58,7 @@\n             'organisation': page.organisation,\n             'return_url': page.return_url,\n             'return_url_text': page.custom_return_url_text,\n-            'stylesheet': page.stylesheet,\n+            'page_stylesheet': page.stylesheet,\n             'akvoapp_root_url': '//{}'.format(settings.AKVOAPP_DOMAIN),\n             'domain_url': '//{}'.format(settings.RSR_DOMAIN),\n             'no_facebook': not page.facebook_button,\n", "issue": "Custom stylesheets for Akvo pages missing\nThe custom CSS that can be uploaded to an Akvo page site is currently not served.\r\n\r\nThis is due to the link to it accidentally being removed when the main stylesheet for RSR was supplemented with a second sheet for the new Results.\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\"\"\"\nAkvo RSR is covered by the GNU Affero General Public License.\n\nSee more details in the license.txt file located at the root folder of the\nAkvo RSR module. For additional details on the GNU license please see\n< http://www.gnu.org/licenses/agpl.html >.\n\"\"\"\n\nimport django\n\nfrom django.conf import settings\nfrom django.core.exceptions import DisallowedHost\nfrom django.contrib.sites.models import get_current_site\n\n\ndef extra_context(request, protocol=\"http\"):\n    \"\"\"Add information to the request context.\"\"\"\n    try:\n        current_site = get_current_site(request)\n    except DisallowedHost:\n        current_site = None\n\n    django_version = django.get_version()\n    debug = getattr(settings, 'DEBUG', False)\n    deploy_tag = getattr(settings, 'DEPLOY_TAG', 'Unknown')\n    deploy_branch = getattr(settings, 'DEPLOY_BRANCH', 'Unknown')\n    deploy_commit_id = getattr(settings, 'DEPLOY_COMMIT_ID', 'Unknown')\n    deploy_commit_full_id = getattr(settings, 'DEPLOY_COMMIT_FULL_ID', 'Unknown')\n\n    return dict(\n        current_site=current_site,\n        django_version=django_version,\n        debug=debug,\n        deploy_tag=deploy_tag,\n        deploy_branch=deploy_branch,\n        deploy_commit_id=deploy_commit_id,\n        deploy_commit_full_id=deploy_commit_full_id\n    )\n\n\ndef get_current_path_without_lang(request):\n    \"\"\"Return current path without lang.\"\"\"\n    path = request.get_full_path()\n    path_bits = path.split('/')\n    path = '/'.join(path_bits[2:])\n    return {'current_path_without_lang': path}\n\n\ndef extra_pages_context(request):\n    \"\"\"Add context information of an RSR Page.\"\"\"\n    if request.rsr_page:\n        page = request.rsr_page\n        return {\n            'rsr_page': page,\n            'favicon': page.favicon,\n            'logo': page.logo,\n            'organisation': page.organisation,\n            'return_url': page.return_url,\n            'return_url_text': page.custom_return_url_text,\n            'stylesheet': page.stylesheet,\n            'akvoapp_root_url': '//{}'.format(settings.AKVOAPP_DOMAIN),\n            'domain_url': '//{}'.format(settings.RSR_DOMAIN),\n            'no_facebook': not page.facebook_button,\n            'facebook_app_id': page.facebook_app_id,\n            'no_twitter': not page.twitter_button,\n        }\n\n    return {}\n", "path": "akvo/rsr/context_processors.py"}]}