prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  tile images on partner page are not cut to same size
  ![screenshot from 2017-11-28 12-12-35](https://user-images.githubusercontent.com/8178179/33316792-7b8fc848-d435-11e7-8723-8849b5804bce.png)
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `liqd_product/config/urls.py`
  Content:
  ```
  1 """Beteiligung.in URL Configuration."""
  2 
  3 from ckeditor_uploader import views as ck_views
  4 from django.conf import settings
  5 from django.conf.urls import include
  6 from django.conf.urls import url
  7 from django.contrib import admin
  8 from django.views.decorators.cache import never_cache
  9 from django.views.i18n import javascript_catalog
  10 from rest_framework import routers
  11 
  12 from adhocracy4.api import routers as a4routers
  13 from adhocracy4.comments.api import CommentViewSet
  14 from adhocracy4.follows.api import FollowViewSet
  15 from adhocracy4.ratings.api import RatingViewSet
  16 from adhocracy4.reports.api import ReportViewSet
  17 from liqd_product.apps.partners.urlresolvers import partner_patterns
  18 from liqd_product.apps.users.decorators import user_is_project_admin
  19 from meinberlin.apps.documents.api import DocumentViewSet
  20 from meinberlin.apps.polls.api import PollViewSet
  21 from meinberlin.apps.polls.api import VoteViewSet
  22 from meinberlin.apps.polls.routers import QuestionDefaultRouter
  23 
  24 js_info_dict = {
  25     'packages': ('adhocracy4.comments',),
  26 }
  27 
  28 router = routers.DefaultRouter()
  29 router.register(r'follows', FollowViewSet, base_name='follows')
  30 router.register(r'reports', ReportViewSet, base_name='reports')
  31 router.register(r'polls', PollViewSet, base_name='polls')
  32 
  33 module_router = a4routers.ModuleDefaultRouter()
  34 # FIXME: rename to 'chapters'
  35 module_router.register(r'documents', DocumentViewSet, base_name='chapters')
  36 
  37 orga_router = a4routers.OrganisationDefaultRouter()
  38 
  39 ct_router = a4routers.ContentTypeDefaultRouter()
  40 ct_router.register(r'comments', CommentViewSet, base_name='comments')
  41 ct_router.register(r'ratings', RatingViewSet, base_name='ratings')
  42 
  43 question_router = QuestionDefaultRouter()
  44 question_router.register(r'vote', VoteViewSet, base_name='vote')
  45 
  46 
  47 urlpatterns = [
  48     # General platform urls
  49     url(r'^django-admin/', include(admin.site.urls)),
  50     url(r'^admin/', include('wagtail.wagtailadmin.urls')),
  51 
  52     url(r'^accounts/', include('allauth.urls')),
  53     url(r'^account/', include('liqd_product.apps.account.urls')),
  54     url(r'^embed/', include('meinberlin.apps.embed.urls')),
  55     url(r'^dashboard/', include('meinberlin.apps.dashboard2.urls')),
  56     url(r'^profile/', include('liqd_product.apps.users.urls')),
  57 
  58     # API urls
  59     url(r'^api/', include(ct_router.urls)),
  60     url(r'^api/', include(module_router.urls)),
  61     url(r'^api/', include(orga_router.urls)),
  62     url(r'^api/', include(question_router.urls)),
  63     url(r'^api/', include(router.urls)),
  64 
  65     url(r'^upload/', user_is_project_admin(ck_views.upload),
  66         name='ckeditor_upload'),
  67     url(r'^browse/', never_cache(user_is_project_admin(ck_views.browse)),
  68         name='ckeditor_browse'),
  69 
  70     url(r'^jsi18n/$', javascript_catalog,
  71         js_info_dict, name='javascript-catalog'),
  72 
  73     # Urls within the context of a partner
  74     partner_patterns(
  75         url(r'^modules/', include('adhocracy4.modules.urls')),
  76         url(r'^projects/', include('adhocracy4.projects.urls')),
  77         url(r'^offlineevents/', include('meinberlin.apps.offlineevents.urls',
  78                                         namespace='meinberlin_offlineevents')),
  79         url(r'^ideas/', include(r'meinberlin.apps.ideas.urls',
  80                                 namespace='meinberlin_ideas')),
  81         url(r'^mapideas/', include('meinberlin.apps.mapideas.urls',
  82                                    namespace='meinberlin_mapideas')),
  83         url(r'^text/', include('meinberlin.apps.documents.urls',
  84                                namespace='meinberlin_documents')),
  85     ),
  86 
  87     url(r'', include('liqd_product.apps.partners.urls')),
  88     url(r'', include('wagtail.wagtailcore.urls'))
  89 ]
  90 
  91 
  92 if settings.DEBUG:
  93     from django.conf.urls.static import static
  94     from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  95 
  96     # Serve static and media locally
  97     urlpatterns += staticfiles_urlpatterns()
  98     urlpatterns += static(settings.MEDIA_URL,
  99                           document_root=settings.MEDIA_ROOT)
  100     try:
  101         import debug_toolbar
  102     except ImportError:
  103         pass
  104     else:
  105         urlpatterns = [
  106             url(r'^__debug__/', include(debug_toolbar.urls)),
  107         ] + urlpatterns
  108
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/liqd_product/config/urls.py b/liqd_product/config/urls.py
  --- a/liqd_product/config/urls.py
  +++ b/liqd_product/config/urls.py
  @@ -16,6 +16,7 @@
   from adhocracy4.reports.api import ReportViewSet
   from liqd_product.apps.partners.urlresolvers import partner_patterns
   from liqd_product.apps.users.decorators import user_is_project_admin
  +from meinberlin.apps.contrib import views as contrib_views
   from meinberlin.apps.documents.api import DocumentViewSet
   from meinberlin.apps.polls.api import PollViewSet
   from meinberlin.apps.polls.api import VoteViewSet
  @@ -67,6 +68,7 @@
       url(r'^browse/', never_cache(user_is_project_admin(ck_views.browse)),
           name='ckeditor_browse'),
   
  +    url(r'^components/$', contrib_views.ComponentLibraryView.as_view()),
       url(r'^jsi18n/$', javascript_catalog,
           js_info_dict, name='javascript-catalog'),
  
verification_info: {"golden_diff": "diff --git a/liqd_product/config/urls.py b/liqd_product/config/urls.py\n--- a/liqd_product/config/urls.py\n+++ b/liqd_product/config/urls.py\n@@ -16,6 +16,7 @@\n from adhocracy4.reports.api import ReportViewSet\n from liqd_product.apps.partners.urlresolvers import partner_patterns\n from liqd_product.apps.users.decorators import user_is_project_admin\n+from meinberlin.apps.contrib import views as contrib_views\n from meinberlin.apps.documents.api import DocumentViewSet\n from meinberlin.apps.polls.api import PollViewSet\n from meinberlin.apps.polls.api import VoteViewSet\n@@ -67,6 +68,7 @@\n     url(r'^browse/', never_cache(user_is_project_admin(ck_views.browse)),\n         name='ckeditor_browse'),\n \n+    url(r'^components/$', contrib_views.ComponentLibraryView.as_view()),\n     url(r'^jsi18n/$', javascript_catalog,\n         js_info_dict, name='javascript-catalog'),\n", "issue": "tile images on partner page are not cut to same size\n![screenshot from 2017-11-28 12-12-35](https://user-images.githubusercontent.com/8178179/33316792-7b8fc848-d435-11e7-8723-8849b5804bce.png)\r\n\n", "before_files": [{"content": "\"\"\"Beteiligung.in URL Configuration.\"\"\"\n\nfrom ckeditor_uploader import views as ck_views\nfrom django.conf import settings\nfrom django.conf.urls import include\nfrom django.conf.urls import url\nfrom django.contrib import admin\nfrom django.views.decorators.cache import never_cache\nfrom django.views.i18n import javascript_catalog\nfrom rest_framework import routers\n\nfrom adhocracy4.api import routers as a4routers\nfrom adhocracy4.comments.api import CommentViewSet\nfrom adhocracy4.follows.api import FollowViewSet\nfrom adhocracy4.ratings.api import RatingViewSet\nfrom adhocracy4.reports.api import ReportViewSet\nfrom liqd_product.apps.partners.urlresolvers import partner_patterns\nfrom liqd_product.apps.users.decorators import user_is_project_admin\nfrom meinberlin.apps.documents.api import DocumentViewSet\nfrom meinberlin.apps.polls.api import PollViewSet\nfrom meinberlin.apps.polls.api import VoteViewSet\nfrom meinberlin.apps.polls.routers import QuestionDefaultRouter\n\njs_info_dict = {\n    'packages': ('adhocracy4.comments',),\n}\n\nrouter = routers.DefaultRouter()\nrouter.register(r'follows', FollowViewSet, base_name='follows')\nrouter.register(r'reports', ReportViewSet, base_name='reports')\nrouter.register(r'polls', PollViewSet, base_name='polls')\n\nmodule_router = a4routers.ModuleDefaultRouter()\n# FIXME: rename to 'chapters'\nmodule_router.register(r'documents', DocumentViewSet, base_name='chapters')\n\norga_router = a4routers.OrganisationDefaultRouter()\n\nct_router = a4routers.ContentTypeDefaultRouter()\nct_router.register(r'comments', CommentViewSet, base_name='comments')\nct_router.register(r'ratings', RatingViewSet, base_name='ratings')\n\nquestion_router = QuestionDefaultRouter()\nquestion_router.register(r'vote', VoteViewSet, base_name='vote')\n\n\nurlpatterns = [\n    # General platform urls\n    url(r'^django-admin/', include(admin.site.urls)),\n    url(r'^admin/', include('wagtail.wagtailadmin.urls')),\n\n    url(r'^accounts/', include('allauth.urls')),\n    url(r'^account/', include('liqd_product.apps.account.urls')),\n    url(r'^embed/', include('meinberlin.apps.embed.urls')),\n    url(r'^dashboard/', include('meinberlin.apps.dashboard2.urls')),\n    url(r'^profile/', include('liqd_product.apps.users.urls')),\n\n    # API urls\n    url(r'^api/', include(ct_router.urls)),\n    url(r'^api/', include(module_router.urls)),\n    url(r'^api/', include(orga_router.urls)),\n    url(r'^api/', include(question_router.urls)),\n    url(r'^api/', include(router.urls)),\n\n    url(r'^upload/', user_is_project_admin(ck_views.upload),\n        name='ckeditor_upload'),\n    url(r'^browse/', never_cache(user_is_project_admin(ck_views.browse)),\n        name='ckeditor_browse'),\n\n    url(r'^jsi18n/$', javascript_catalog,\n        js_info_dict, name='javascript-catalog'),\n\n    # Urls within the context of a partner\n    partner_patterns(\n        url(r'^modules/', include('adhocracy4.modules.urls')),\n        url(r'^projects/', include('adhocracy4.projects.urls')),\n        url(r'^offlineevents/', include('meinberlin.apps.offlineevents.urls',\n                                        namespace='meinberlin_offlineevents')),\n        url(r'^ideas/', include(r'meinberlin.apps.ideas.urls',\n                                namespace='meinberlin_ideas')),\n        url(r'^mapideas/', include('meinberlin.apps.mapideas.urls',\n                                   namespace='meinberlin_mapideas')),\n        url(r'^text/', include('meinberlin.apps.documents.urls',\n                               namespace='meinberlin_documents')),\n    ),\n\n    url(r'', include('liqd_product.apps.partners.urls')),\n    url(r'', include('wagtail.wagtailcore.urls'))\n]\n\n\nif settings.DEBUG:\n    from django.conf.urls.static import static\n    from django.contrib.staticfiles.urls import staticfiles_urlpatterns\n\n    # Serve static and media locally\n    urlpatterns += staticfiles_urlpatterns()\n    urlpatterns += static(settings.MEDIA_URL,\n                          document_root=settings.MEDIA_ROOT)\n    try:\n        import debug_toolbar\n    except ImportError:\n        pass\n    else:\n        urlpatterns = [\n            url(r'^__debug__/', include(debug_toolbar.urls)),\n        ] + urlpatterns\n", "path": "liqd_product/config/urls.py"}], "after_files": [{"content": "\"\"\"Beteiligung.in URL Configuration.\"\"\"\n\nfrom ckeditor_uploader import views as ck_views\nfrom django.conf import settings\nfrom django.conf.urls import include\nfrom django.conf.urls import url\nfrom django.contrib import admin\nfrom django.views.decorators.cache import never_cache\nfrom django.views.i18n import javascript_catalog\nfrom rest_framework import routers\n\nfrom adhocracy4.api import routers as a4routers\nfrom adhocracy4.comments.api import CommentViewSet\nfrom adhocracy4.follows.api import FollowViewSet\nfrom adhocracy4.ratings.api import RatingViewSet\nfrom adhocracy4.reports.api import ReportViewSet\nfrom liqd_product.apps.partners.urlresolvers import partner_patterns\nfrom liqd_product.apps.users.decorators import user_is_project_admin\nfrom meinberlin.apps.contrib import views as contrib_views\nfrom meinberlin.apps.documents.api import DocumentViewSet\nfrom meinberlin.apps.polls.api import PollViewSet\nfrom meinberlin.apps.polls.api import VoteViewSet\nfrom meinberlin.apps.polls.routers import QuestionDefaultRouter\n\njs_info_dict = {\n    'packages': ('adhocracy4.comments',),\n}\n\nrouter = routers.DefaultRouter()\nrouter.register(r'follows', FollowViewSet, base_name='follows')\nrouter.register(r'reports', ReportViewSet, base_name='reports')\nrouter.register(r'polls', PollViewSet, base_name='polls')\n\nmodule_router = a4routers.ModuleDefaultRouter()\n# FIXME: rename to 'chapters'\nmodule_router.register(r'documents', DocumentViewSet, base_name='chapters')\n\norga_router = a4routers.OrganisationDefaultRouter()\n\nct_router = a4routers.ContentTypeDefaultRouter()\nct_router.register(r'comments', CommentViewSet, base_name='comments')\nct_router.register(r'ratings', RatingViewSet, base_name='ratings')\n\nquestion_router = QuestionDefaultRouter()\nquestion_router.register(r'vote', VoteViewSet, base_name='vote')\n\n\nurlpatterns = [\n    # General platform urls\n    url(r'^django-admin/', include(admin.site.urls)),\n    url(r'^admin/', include('wagtail.wagtailadmin.urls')),\n\n    url(r'^accounts/', include('allauth.urls')),\n    url(r'^account/', include('liqd_product.apps.account.urls')),\n    url(r'^embed/', include('meinberlin.apps.embed.urls')),\n    url(r'^dashboard/', include('meinberlin.apps.dashboard2.urls')),\n    url(r'^profile/', include('liqd_product.apps.users.urls')),\n\n    # API urls\n    url(r'^api/', include(ct_router.urls)),\n    url(r'^api/', include(module_router.urls)),\n    url(r'^api/', include(orga_router.urls)),\n    url(r'^api/', include(question_router.urls)),\n    url(r'^api/', include(router.urls)),\n\n    url(r'^upload/', user_is_project_admin(ck_views.upload),\n        name='ckeditor_upload'),\n    url(r'^browse/', never_cache(user_is_project_admin(ck_views.browse)),\n        name='ckeditor_browse'),\n\n    url(r'^components/$', contrib_views.ComponentLibraryView.as_view()),\n    url(r'^jsi18n/$', javascript_catalog,\n        js_info_dict, name='javascript-catalog'),\n\n    # Urls within the context of a partner\n    partner_patterns(\n        url(r'^modules/', include('adhocracy4.modules.urls')),\n        url(r'^projects/', include('adhocracy4.projects.urls')),\n        url(r'^offlineevents/', include('meinberlin.apps.offlineevents.urls',\n                                        namespace='meinberlin_offlineevents')),\n        url(r'^ideas/', include(r'meinberlin.apps.ideas.urls',\n                                namespace='meinberlin_ideas')),\n        url(r'^mapideas/', include('meinberlin.apps.mapideas.urls',\n                                   namespace='meinberlin_mapideas')),\n        url(r'^text/', include('meinberlin.apps.documents.urls',\n                               namespace='meinberlin_documents')),\n    ),\n\n    url(r'', include('liqd_product.apps.partners.urls')),\n    url(r'', include('wagtail.wagtailcore.urls'))\n]\n\n\nif settings.DEBUG:\n    from django.conf.urls.static import static\n    from django.contrib.staticfiles.urls import staticfiles_urlpatterns\n\n    # Serve static and media locally\n    urlpatterns += staticfiles_urlpatterns()\n    urlpatterns += static(settings.MEDIA_URL,\n                          document_root=settings.MEDIA_ROOT)\n    try:\n        import debug_toolbar\n    except ImportError:\n        pass\n    else:\n        urlpatterns = [\n            url(r'^__debug__/', include(debug_toolbar.urls)),\n        ] + urlpatterns\n", "path": "liqd_product/config/urls.py"}]}