diff --git a/samples/development-frameworks/django/bootcamp/settings.py b/samples/development-frameworks/django/bootcamp/settings.py index f412c7a0..363cab5e 100644 --- a/samples/development-frameworks/django/bootcamp/settings.py +++ b/samples/development-frameworks/django/bootcamp/settings.py @@ -15,7 +15,18 @@ DEBUG = config('DEBUG', default=False, cast=bool) TEMPLATE_DEBUG = DEBUG DATABASES = { - 'default': dj_database_url.config(default=config('DATABASE_URL')) + 'default': { + 'ENGINE': 'sql_server.pyodbc', + 'NAME': 'django', + 'USER': 'yourusername', + 'PASSWORD': 'yourpassword', + 'HOST': 'yourserver', + 'PORT': '1433', + + 'OPTIONS': { + 'driver': 'ODBC Driver 13 for SQL Server', + }, + }, } ALLOWED_HOSTS = ['*']