File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 110110WSGI_APPLICATION = 'openNPL.wsgi.application'
111111
112112DATABASES = {
113- 'default' : {
114- 'ENGINE' : 'django.db.backends.sqlite3' ,
115- 'NAME' : os .path .join (BASE_DIR , 'db.sqlite3' ),
116- }
113+ # 'default': {
114+ # 'ENGINE': 'django.db.backends.sqlite3',
115+ # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
116+ # }
117117 # 'default': {
118118 # 'ENGINE': 'django.contrib.gis.db.backends.postgis',
119119 # 'NAME': 'opennpl',
122122 # 'HOST': 'localhost',
123123 # 'PORT': '5433',
124124 # }
125+ 'default' : {
126+ 'ENGINE' : 'django.db.backends.postgresql' ,
127+ 'NAME' : 'opennpl' , # Replace with your database name
128+ 'USER' : 'opennpluser' , # Replace with your database username
129+ 'PASSWORD' : 'opennpluser' , # Replace with your database password
130+ 'HOST' : 'localhost' , # Database host
131+ 'PORT' : '5432' , # Default PostgreSQL port
132+ }
125133}
126134
127135DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
You can’t perform that action at this time.
0 commit comments