Skip to content

Commit 5467ca3

Browse files
authored
Merge pull request #1787 from ryu22e/Update-DATABASES-to-the-latest-Django-style
Update DATABASES to the latest Django style
2 parents 50af496 + afda552 commit 5467ca3

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

bg/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
125125
DATABASES = {
126126
'default': {
127127
'ENGINE': 'django.db.backends.sqlite3',
128-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
128+
'NAME': BASE_DIR / 'db.sqlite3',
129129
}
130130
}
131131
```

cs/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Ta je již nastavena v konfiguračním souboru `mysite/settings.py`:
8383
DATABASES = {
8484
'default': {
8585
'ENGINE': 'django.db.backends.sqlite3',
86-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
86+
'NAME': BASE_DIR / 'db.sqlite3',
8787
}
8888
}
8989
```

de/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Das sollte schon in der `mysite/settings.py`-Datei eingestellt sein:
165165
DATABASES = {
166166
'default': {
167167
'ENGINE': 'django.db.backends.sqlite3',
168-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
168+
'NAME': BASE_DIR / 'db.sqlite3',
169169
}
170170
}
171171
```

el/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
123123
DATABASES = {
124124
'default': {
125125
'ENGINE': 'django.db.backends.sqlite3',
126-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
126+
'NAME': BASE_DIR / 'db.sqlite3',
127127
}
128128
}
129129
```

es/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Esta ya está configurado en esta parte de tu archivo `mysite/settings.py`:
124124
DATABASES = {
125125
'default': {
126126
'ENGINE': 'django.db.backends.sqlite3',
127-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
127+
'NAME': BASE_DIR / 'db.sqlite3',
128128
}
129129
}
130130
```

fa/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
165165
DATABASES = {
166166
'default': {
167167
'ENGINE': 'django.db.backends.sqlite3',
168-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
168+
'NAME': BASE_DIR / 'db.sqlite3',
169169
}
170170
}
171171
```

fr/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Il est déjà configuré dans cette partie de votre fichier `mysite/settings.py`
165165
DATABASES = {
166166
'default': {
167167
'ENGINE': 'django.db.backends.sqlite3',
168-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
168+
'NAME': BASE_DIR / 'db.sqlite3',
169169
}
170170
}
171171
```

hu/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Ez már be van állítva a `mysite/settings.py` fájlodban:
8888
DATABASES = {
8989
'default': {
9090
'ENGINE': 'django.db.backends.sqlite3',
91-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
91+
'NAME': BASE_DIR / 'db.sqlite3',
9292
}
9393
}
9494
```

hy/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
165165
DATABASES = {
166166
'default': {
167167
'ENGINE': 'django.db.backends.sqlite3',
168-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
168+
'NAME': BASE_DIR / 'db.sqlite3',
169169
}
170170
}
171171
```

it/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Ci sono un sacco di software di database diversi che possono immagazzinare dati
165165
DATABASES = {
166166
'default': {
167167
'ENGINE': 'django.db.backends.sqlite3',
168-
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
168+
'NAME': BASE_DIR / 'db.sqlite3',
169169
}
170170
}
171171
```

0 commit comments

Comments
 (0)