download
raw
799 Bytes
from django.utils.version import get_version
VERSION = (6, 0, 2, "final", 0)
__version__ = get_version(VERSION)
def setup(set_prefix=True):
"""
Configure the settings (this happens as a side effect of accessing the
first setting), configure logging and populate the app registry.
Set the thread-local urlresolvers script prefix if `set_prefix` is True.
"""
from django.apps import apps
from django.conf import settings
from django.urls import set_script_prefix
from django.utils.log import configure_logging
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
if set_prefix:
set_script_prefix(
"/" if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
)
apps.populate(settings.INSTALLED_APPS)

Xet Storage Details

Size:
799 Bytes
·
Xet hash:
8f5c4461fa949d81e9688d3706ce4df0f9f07a4583d91c5eb287fee9f9665183

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.