Skip to content
Snippets Groups Projects
Commit 449a9974 authored by Fynn Becker's avatar Fynn Becker :crab:
Browse files

Rename settings file, remove wsgi file

parent 435122d5
No related branches found
No related tags found
No related merge requests found
import logging
from . import settings
from . import app_settings
from requests import HTTPError
logger = logging.getLogger("postgrestutils")
......
File moved
from . import postgrestclient
from .. import settings
from .. import app_settings
# the instance of the client to be used
pgrest_client = postgrestclient.PostgrestClient(settings.BASE_URI, settings.JWT)
pgrest_client = postgrestclient.PostgrestClient(app_settings.BASE_URI, app_settings.JWT)
"""
WSGI config for postgrestutils project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "postgrestutils.settings")
application = get_wsgi_application()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment