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
f2b2a356
Kaydet (Commit)
f2b2a356
authored
May 02, 2016
tarafından
Offby-One Kenobi
Kaydeden (comit)
Tim Graham
May 02, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed docstring typos.
üst
32969c39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
base.py
django/core/serializers/base.py
+1
-1
tests.py
tests/model_forms/tests.py
+1
-1
No files found.
django/core/serializers/base.py
Dosyayı görüntüle @
f2b2a356
...
...
@@ -22,7 +22,7 @@ class DeserializationError(Exception):
def
WithData
(
cls
,
original_exc
,
model
,
fk
,
field_value
):
"""
Factory method for creating a deserialization error which has a more
explanatory mess
s
age.
explanatory message.
"""
return
cls
(
"
%
s: (
%
s:pk=
%
s) field_value was '
%
s'"
%
(
original_exc
,
model
,
fk
,
field_value
))
...
...
tests/model_forms/tests.py
Dosyayı görüntüle @
f2b2a356
...
...
@@ -2291,7 +2291,7 @@ class ModelOtherFieldTests(SimpleTestCase):
def
test_modelform_non_editable_field
(
self
):
"""
When explicit
e
ly including a non-editable field in a ModelForm, the
When explicitly including a non-editable field in a ModelForm, the
error message should be explicit.
"""
# 'created', non-editable, is excluded by default
...
...
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