old_contents: from autostew_back.gameserver.server import Server as DedicatedServer
  
  name = 'DB'
  
  
  def init(server: DedicatedServer):
      import os
      os.environ.setdefault("DJANGO_SETTINGS_MODULE", "autostew.settings")
      from django.core.wsgi import get_wsgi_application
      get_wsgi_application()
  
new_contents: from autostew_back.gameserver.server import Server as DedicatedServer
  
  name = 'DB'
  
  
  def init(server: DedicatedServer):
      import os
      os.environ.setdefault("DJANGO_SETTINGS_MODULE", "autostew.settings")
      from django.core.wsgi import get_wsgi_application
      get_wsgi_application()
  
  # this is needed, else other plugins won't load
  init(None)
  
subject: Fix bug in db plugin