dev-resources.site
for different kinds of informations.
how to fix raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
Published at
9/15/2022
Categories
django
railway
drf
postgres
Author
olaneat
Author
7 person written this
olaneat
open
hallo guys,
so i'm having issue deploying my django on railway but once the deployment is complete the app crash with this err
raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
and below is my django settings and railway setting
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'HOST': os.environ.get('PGHOST'),
'NAME': os.environ.get('PGDATABASE'),
'USERNAME': os.environ.get('PGUSER'),
'PASSWORD': os.environ.get('PGPASSWORD'),
'PORT':os.environ.get('PGPORT')
}
}
can anyone help out pls
drf Article's
30 articles in total
Djoser+SimpleJWT
read article
AssertionError: 403
read article
extra_kwargs arguments
read article
To Django or to DjangoREST?
read article
Django API | queryset & object, filter() & get()
read article
I just tried to compare values between model and serializer
read article
Customize Schema with @extend_schema_view
read article
Seperate serializers
read article
Leveraging Headers for Dynamic Localization in Django
read article
Django REST Framework warning: `UnorderedObjectListWarning`
read article
DRF create @property decorator in view and use property in serializer
read article
why Serializers used for? easy to understand
read article
Async API Calls Unleashed: Exploring Django 4 and Django Rest Framework
read article
# Comprehensive Security for Class-Based Views in Django Rest Framework
read article
HATEOAS Principle - Generating Full Paths for Objects in Django Rest Framework.
read article
Instance version control in DRF with Django Reversion
read article
Django News #171 - DjangoCon US 2023 Preview
read article
How to create thumbnails programmatically in Django
read article
Automatically Add Logged In User Under 'created_by' and 'updated_by' to Model in Django Rest Framework
read article
how to fix raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
currently reading
CSRF verification failed. Request aborted. in django rest framework
read article
CSRF verification failed. Request aborted. in django rest framework
read article
How to fix "Must supply api_key"
read article
Updating A Many-To-Many Relationship In Django
read article
Excluding Fields in Django Rest Framework Serializers
read article
JWT Authentication with Django REST Framework - What? Why? How?
read article
How to implement Auto Expiring Token in Django Rest Framework
read article
Building web applications with Django, Django REST Framework and Nuxt
read article
How to use Postman to authenticate to Django Rest Framework
read article
Setting Up Django Rest Framework
read article
Featured ones: