Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 799B

123456789101112131415161718192021222324
  1. from django.utils.version import get_version
  2. VERSION = (4, 1, 7, "final", 0)
  3. __version__ = get_version(VERSION)
  4. def setup(set_prefix=True):
  5. """
  6. Configure the settings (this happens as a side effect of accessing the
  7. first setting), configure logging and populate the app registry.
  8. Set the thread-local urlresolvers script prefix if `set_prefix` is True.
  9. """
  10. from django.apps import apps
  11. from django.conf import settings
  12. from django.urls import set_script_prefix
  13. from django.utils.log import configure_logging
  14. configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
  15. if set_prefix:
  16. set_script_prefix(
  17. "/" if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
  18. )
  19. apps.populate(settings.INSTALLED_APPS)