in project fold (where is manage.py) create file: .env and put in it some variables, like this:
YOUKASSA_ACCOUNT_ID = is your id in youkassa
U_KEY = key for access to the payments in youkassa
SECRET_KEY = key for Django
DEBUG = 0 if on, 1 if off
ALLOWED_HOSTS =127.0.0.1,.pythonanywhere.com,.digitalocean.com