Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
bba54534
Kaydet (Commit)
bba54534
authored
Ara 02, 2014
tarafından
Andriy Sokolovskiy
Kaydeden (comit)
Tim Graham
Ara 02, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #23946 -- Fixed runserver crash when socket error contains Unicode chars.
üst
0623f4de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
runserver.py
django/core/management/commands/runserver.py
+2
-2
1.7.2.txt
docs/releases/1.7.2.txt
+3
-0
No files found.
django/core/management/commands/runserver.py
Dosyayı görüntüle @
bba54534
...
@@ -12,7 +12,7 @@ from django.core.servers.basehttp import run, get_internal_wsgi_application
...
@@ -12,7 +12,7 @@ from django.core.servers.basehttp import run, get_internal_wsgi_application
from
django.db
import
connections
,
DEFAULT_DB_ALIAS
from
django.db
import
connections
,
DEFAULT_DB_ALIAS
from
django.db.migrations.executor
import
MigrationExecutor
from
django.db.migrations.executor
import
MigrationExecutor
from
django.utils
import
autoreload
from
django.utils
import
autoreload
from
django.utils.encoding
import
get_system_encoding
from
django.utils.encoding
import
get_system_encoding
,
smart_text
from
django.utils
import
six
from
django.utils
import
six
from
django.core.exceptions
import
ImproperlyConfigured
from
django.core.exceptions
import
ImproperlyConfigured
...
@@ -148,7 +148,7 @@ class Command(BaseCommand):
...
@@ -148,7 +148,7 @@ class Command(BaseCommand):
try
:
try
:
error_text
=
ERRORS
[
e
.
errno
]
error_text
=
ERRORS
[
e
.
errno
]
except
KeyError
:
except
KeyError
:
error_text
=
s
tr
(
e
)
error_text
=
s
mart_text
(
e
)
self
.
stderr
.
write
(
"Error:
%
s"
%
error_text
)
self
.
stderr
.
write
(
"Error:
%
s"
%
error_text
)
# Need to use an OS exit because sys.exit doesn't work in a thread
# Need to use an OS exit because sys.exit doesn't work in a thread
os
.
_exit
(
1
)
os
.
_exit
(
1
)
...
...
docs/releases/1.7.2.txt
Dosyayı görüntüle @
bba54534
...
@@ -98,3 +98,6 @@ Bugfixes
...
@@ -98,3 +98,6 @@ Bugfixes
* Fixed a regression in ``contrib.admin`` add/change views which caused some
* Fixed a regression in ``contrib.admin`` add/change views which caused some
``ModelAdmin`` methods to receive the incorrect ``obj`` value
``ModelAdmin`` methods to receive the incorrect ``obj`` value
(:ticket:`23934`).
(:ticket:`23934`).
* Fixed ``runserver`` crash when socket error message contained Unicode
characters (:ticket:`23946`).
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment