File: //usr/lib/python3/dist-packages/django/conf/__pycache__/__init__.cpython-310.pyc
o
3�a
) � @ s� d Z ddlZddlZddlZddlZddlZddlmZ ddlZddl m
Z
ddlmZ ddl
mZ ddlmZmZ dZd Zd
ZG dd� de�ZG d
d� de�ZG dd� d�ZG dd� d�Ze� ZdS )z�
Settings and configuration for Django.
Read values from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global_settings.py
for a list of all possible variables.
� N)�Path)�global_settings)�ImproperlyConfigured)�RemovedInDjango40Warning)�
LazyObject�empty�DJANGO_SETTINGS_MODULEzZThe PASSWORD_RESET_TIMEOUT_DAYS setting is deprecated. Use PASSWORD_RESET_TIMEOUT instead.z�The DEFAULT_HASHING_ALGORITHM transitional setting is deprecated. Support for it and tokens, cookies, sessions, and signatures that use SHA-1 hashing algorithm will be removed in Django 4.0.c @ s e Zd ZdZdd� Zdd� ZdS )�SettingsReferencez�
String subclass which references a current settings value. It's treated as
the value in memory but serializes to a settings.NAME attribute reference.
c C s t �| |�S �N)�str�__new__��self�value�setting_name� r �6/usr/lib/python3/dist-packages/django/conf/__init__.pyr ) s zSettingsReference.__new__c C s
|| _ d S r
)r r
r r r �__init__, �
zSettingsReference.__init__N)�__name__�
__module__�__qualname__�__doc__r r r r r r r $ s r c sv e Zd ZdZddd�Zdd� Zdd� Z� fd d
�Z� fdd�Ze fd
d�Z
edd� �Ze
dd� �Ze
dd� �Z� ZS )�LazySettingsz�
A lazy proxy for either global Django settings or a custom settings object.
The user can manually configure settings prior to using them. Otherwise,
Django uses the settings module pointed to by DJANGO_SETTINGS_MODULE.
Nc C s>