prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Refactor technical feedback
  The current implementation of technical feedback does not comply with the way it is used in the apps when submitting feedback. Instead of having one model for technical feedback, we should rather have a `technical` flag for each of the other feedback models. This flag should be set whenever the `category`-parameter contains "technisch" or "technical". In a future API version, we can convert this to a parameter, which can either be true or false in the feedback submission request.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `src/cms/models/__init__.py`
  Content:
  ```
  1 from .config.configuration import Configuration
  2 
  3 from .events.event import Event
  4 from .events.event_translation import EventTranslation
  5 from .events.recurrence_rule import RecurrenceRule
  6 
  7 from .offers.offer import Offer
  8 from .offers.offer_template import OfferTemplate
  9 
  10 from .feedback.event_feedback import EventFeedback
  11 from .feedback.offer_feedback import OfferFeedback
  12 from .feedback.feedback import Feedback
  13 from .feedback.page_feedback import PageFeedback
  14 from .feedback.region_feedback import RegionFeedback
  15 from .feedback.search_result_feedback import SearchResultFeedback
  16 from .feedback.technical_feedback import TechnicalFeedback
  17 
  18 from .languages.language import Language
  19 from .languages.language_tree_node import LanguageTreeNode
  20 
  21 from .media.document import Document
  22 
  23 from .pages.page import Page
  24 from .pages.page_translation import PageTranslation
  25 
  26 from .pois.poi import POI
  27 from .pois.poi_translation import POITranslation
  28 
  29 from .push_notifications.push_notification import PushNotification
  30 from .push_notifications.push_notification_translation import PushNotificationTranslation
  31 
  32 from .regions.region import Region
  33 
  34 from .users.organization import Organization
  35 from .users.user_profile import UserProfile
  36 from .users.user_mfa import UserMfa
  37
  ```
  
  Path: `src/cms/models/feedback/feedback.py`
  Content:
  ```
  1 """
  2 Module for models storing feedback from front end users
  3 """
  4 from django.db import models
  5 
  6 
  7 class Feedback(models.Model):
  8     """
  9     Base class for collecting feeedback from users.
  10     """
  11     EMOTION = (
  12         ("Pos", "Positive"),
  13         ("Neg", "Negative"),
  14         ("NA", "Not Available"),
  15     )
  16     emotion = models.CharField(max_length=3, choices=EMOTION)
  17     comment = models.CharField(max_length=1000)
  18     readStatus = models.BooleanField(default=False)
  19 
  20     created_date = models.DateTimeField(auto_now_add=True)
  21     last_updated = models.DateTimeField(auto_now=True)
  22 
  23     class Meta:
  24         default_permissions = ()
  25         permissions = (
  26             ('view_feedback', 'Can view feedback'),
  27         )
  28
  ```
  
  Path: `src/cms/models/feedback/technical_feedback.py`
  Content:
  ```
  1 """
  2 Module for models storing feedback from front end users
  3 """
  4 from django.db import models
  5 
  6 from .feedback import Feedback
  7 from ..pages.page import Page
  8 
  9 
  10 class TechnicalFeedback(Feedback):
  11     """
  12     Technical feedback on the end user app
  13     """
  14     page = models.ForeignKey(Page, on_delete=models.CASCADE)
  15 
  16     class Meta:
  17         default_permissions = ()
  18
  ```
  --- 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/src/cms/models/__init__.py b/src/cms/models/__init__.py
  --- a/src/cms/models/__init__.py
  +++ b/src/cms/models/__init__.py
  @@ -13,7 +13,6 @@
   from .feedback.page_feedback import PageFeedback
   from .feedback.region_feedback import RegionFeedback
   from .feedback.search_result_feedback import SearchResultFeedback
  -from .feedback.technical_feedback import TechnicalFeedback
   
   from .languages.language import Language
   from .languages.language_tree_node import LanguageTreeNode
  diff --git a/src/cms/models/feedback/feedback.py b/src/cms/models/feedback/feedback.py
  --- a/src/cms/models/feedback/feedback.py
  +++ b/src/cms/models/feedback/feedback.py
  @@ -15,7 +15,8 @@
       )
       emotion = models.CharField(max_length=3, choices=EMOTION)
       comment = models.CharField(max_length=1000)
  -    readStatus = models.BooleanField(default=False)
  +    is_technical = models.BooleanField(default=False)
  +    read_status = models.BooleanField(default=False)
   
       created_date = models.DateTimeField(auto_now_add=True)
       last_updated = models.DateTimeField(auto_now=True)
  diff --git a/src/cms/models/feedback/technical_feedback.py b/src/cms/models/feedback/technical_feedback.py
  deleted file mode 100644
  --- a/src/cms/models/feedback/technical_feedback.py
  +++ /dev/null
  @@ -1,17 +0,0 @@
  -"""
  -Module for models storing feedback from front end users
  -"""
  -from django.db import models
  -
  -from .feedback import Feedback
  -from ..pages.page import Page
  -
  -
  -class TechnicalFeedback(Feedback):
  -    """
  -    Technical feedback on the end user app
  -    """
  -    page = models.ForeignKey(Page, on_delete=models.CASCADE)
  -
  -    class Meta:
  -        default_permissions = ()
  
verification_info: {"golden_diff": "diff --git a/src/cms/models/__init__.py b/src/cms/models/__init__.py\n--- a/src/cms/models/__init__.py\n+++ b/src/cms/models/__init__.py\n@@ -13,7 +13,6 @@\n from .feedback.page_feedback import PageFeedback\n from .feedback.region_feedback import RegionFeedback\n from .feedback.search_result_feedback import SearchResultFeedback\n-from .feedback.technical_feedback import TechnicalFeedback\n \n from .languages.language import Language\n from .languages.language_tree_node import LanguageTreeNode\ndiff --git a/src/cms/models/feedback/feedback.py b/src/cms/models/feedback/feedback.py\n--- a/src/cms/models/feedback/feedback.py\n+++ b/src/cms/models/feedback/feedback.py\n@@ -15,7 +15,8 @@\n     )\n     emotion = models.CharField(max_length=3, choices=EMOTION)\n     comment = models.CharField(max_length=1000)\n-    readStatus = models.BooleanField(default=False)\n+    is_technical = models.BooleanField(default=False)\n+    read_status = models.BooleanField(default=False)\n \n     created_date = models.DateTimeField(auto_now_add=True)\n     last_updated = models.DateTimeField(auto_now=True)\ndiff --git a/src/cms/models/feedback/technical_feedback.py b/src/cms/models/feedback/technical_feedback.py\ndeleted file mode 100644\n--- a/src/cms/models/feedback/technical_feedback.py\n+++ /dev/null\n@@ -1,17 +0,0 @@\n-\"\"\"\n-Module for models storing feedback from front end users\n-\"\"\"\n-from django.db import models\n-\n-from .feedback import Feedback\n-from ..pages.page import Page\n-\n-\n-class TechnicalFeedback(Feedback):\n-    \"\"\"\n-    Technical feedback on the end user app\n-    \"\"\"\n-    page = models.ForeignKey(Page, on_delete=models.CASCADE)\n-\n-    class Meta:\n-        default_permissions = ()\n", "issue": "Refactor technical feedback\nThe current implementation of technical feedback does not comply with the way it is used in the apps when submitting feedback. Instead of having one model for technical feedback, we should rather have a `technical` flag for each of the other feedback models. This flag should be set whenever the `category`-parameter contains \"technisch\" or \"technical\". In a future API version, we can convert this to a parameter, which can either be true or false in the feedback submission request.\n", "before_files": [{"content": "from .config.configuration import Configuration\n\nfrom .events.event import Event\nfrom .events.event_translation import EventTranslation\nfrom .events.recurrence_rule import RecurrenceRule\n\nfrom .offers.offer import Offer\nfrom .offers.offer_template import OfferTemplate\n\nfrom .feedback.event_feedback import EventFeedback\nfrom .feedback.offer_feedback import OfferFeedback\nfrom .feedback.feedback import Feedback\nfrom .feedback.page_feedback import PageFeedback\nfrom .feedback.region_feedback import RegionFeedback\nfrom .feedback.search_result_feedback import SearchResultFeedback\nfrom .feedback.technical_feedback import TechnicalFeedback\n\nfrom .languages.language import Language\nfrom .languages.language_tree_node import LanguageTreeNode\n\nfrom .media.document import Document\n\nfrom .pages.page import Page\nfrom .pages.page_translation import PageTranslation\n\nfrom .pois.poi import POI\nfrom .pois.poi_translation import POITranslation\n\nfrom .push_notifications.push_notification import PushNotification\nfrom .push_notifications.push_notification_translation import PushNotificationTranslation\n\nfrom .regions.region import Region\n\nfrom .users.organization import Organization\nfrom .users.user_profile import UserProfile\nfrom .users.user_mfa import UserMfa\n", "path": "src/cms/models/__init__.py"}, {"content": "\"\"\"\nModule for models storing feedback from front end users\n\"\"\"\nfrom django.db import models\n\n\nclass Feedback(models.Model):\n    \"\"\"\n    Base class for collecting feeedback from users.\n    \"\"\"\n    EMOTION = (\n        (\"Pos\", \"Positive\"),\n        (\"Neg\", \"Negative\"),\n        (\"NA\", \"Not Available\"),\n    )\n    emotion = models.CharField(max_length=3, choices=EMOTION)\n    comment = models.CharField(max_length=1000)\n    readStatus = models.BooleanField(default=False)\n\n    created_date = models.DateTimeField(auto_now_add=True)\n    last_updated = models.DateTimeField(auto_now=True)\n\n    class Meta:\n        default_permissions = ()\n        permissions = (\n            ('view_feedback', 'Can view feedback'),\n        )\n", "path": "src/cms/models/feedback/feedback.py"}, {"content": "\"\"\"\nModule for models storing feedback from front end users\n\"\"\"\nfrom django.db import models\n\nfrom .feedback import Feedback\nfrom ..pages.page import Page\n\n\nclass TechnicalFeedback(Feedback):\n    \"\"\"\n    Technical feedback on the end user app\n    \"\"\"\n    page = models.ForeignKey(Page, on_delete=models.CASCADE)\n\n    class Meta:\n        default_permissions = ()\n", "path": "src/cms/models/feedback/technical_feedback.py"}], "after_files": [{"content": "from .config.configuration import Configuration\n\nfrom .events.event import Event\nfrom .events.event_translation import EventTranslation\nfrom .events.recurrence_rule import RecurrenceRule\n\nfrom .offers.offer import Offer\nfrom .offers.offer_template import OfferTemplate\n\nfrom .feedback.event_feedback import EventFeedback\nfrom .feedback.offer_feedback import OfferFeedback\nfrom .feedback.feedback import Feedback\nfrom .feedback.page_feedback import PageFeedback\nfrom .feedback.region_feedback import RegionFeedback\nfrom .feedback.search_result_feedback import SearchResultFeedback\n\nfrom .languages.language import Language\nfrom .languages.language_tree_node import LanguageTreeNode\n\nfrom .media.document import Document\n\nfrom .pages.page import Page\nfrom .pages.page_translation import PageTranslation\n\nfrom .pois.poi import POI\nfrom .pois.poi_translation import POITranslation\n\nfrom .push_notifications.push_notification import PushNotification\nfrom .push_notifications.push_notification_translation import PushNotificationTranslation\n\nfrom .regions.region import Region\n\nfrom .users.organization import Organization\nfrom .users.user_profile import UserProfile\nfrom .users.user_mfa import UserMfa\n", "path": "src/cms/models/__init__.py"}, {"content": "\"\"\"\nModule for models storing feedback from front end users\n\"\"\"\nfrom django.db import models\n\n\nclass Feedback(models.Model):\n    \"\"\"\n    Base class for collecting feeedback from users.\n    \"\"\"\n    EMOTION = (\n        (\"Pos\", \"Positive\"),\n        (\"Neg\", \"Negative\"),\n        (\"NA\", \"Not Available\"),\n    )\n    emotion = models.CharField(max_length=3, choices=EMOTION)\n    comment = models.CharField(max_length=1000)\n    is_technical = models.BooleanField(default=False)\n    read_status = models.BooleanField(default=False)\n\n    created_date = models.DateTimeField(auto_now_add=True)\n    last_updated = models.DateTimeField(auto_now=True)\n\n    class Meta:\n        default_permissions = ()\n        permissions = (\n            ('view_feedback', 'Can view feedback'),\n        )\n", "path": "src/cms/models/feedback/feedback.py"}, {"content": null, "path": "src/cms/models/feedback/technical_feedback.py"}]}