Connect to database
This commit is contained in:
parent
37beb201d7
commit
61ba6737a6
10
settings.py
10
settings.py
@ -11,11 +11,11 @@ MANAGERS = ADMINS
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
'NAME': '', # Or path to database file if using sqlite3.
|
||||
'USER': '', # Not used with sqlite3.
|
||||
'PASSWORD': '', # Not used with sqlite3.
|
||||
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
||||
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
'NAME': 'weblate', # Or path to database file if using sqlite3.
|
||||
'USER': 'weblate', # Not used with sqlite3.
|
||||
'PASSWORD': 'weblate', # Not used with sqlite3.
|
||||
'HOST': '127.0.0.1', # Set to empty string for localhost. Not used with sqlite3.
|
||||
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user