1DATABASES = {
2 'default': {
3 'ENGINE': 'django.db.backends.postgresql',
4 'NAME': 'your_database_project_name',
5 'USER': 'your_postgres_username',
6 'PASSWORD': 'your_postgres_password',
7 'HOST': '127.0.0.1',
8 'PORT': '5432',
9 }
10}
1DATABASES = {
2 'default': {
3 'ENGINE': 'django.db.backends.postgresql',
4 'NAME': 'mydatabase',
5 'USER': 'mydatabaseuser',
6 'PASSWORD': 'mypassword',
7 'HOST': 'localhost',
8 'PORT': '5432',
9 }
10}
1DATABASES = {
2 'default': {
3 'ENGINE': 'django.db.backends.postgresql',
4 'NAME': 'mydatabase',
5 'USER': 'mydatabaseuser',
6 'PASSWORD': 'mypassword',
7 'HOST': '127.0.0.1',
8 'PORT': '5432',
9 }
10}
11