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
1917017b
Kaydet (Commit)
1917017b
authored
Ara 06, 2014
tarafından
Aymeric Augustin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Moved misplaced comment.
üst
4832320e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tests.py
tests/generic_inline_admin/tests.py
+2
-4
No files found.
tests/generic_inline_admin/tests.py
Dosyayı görüntüle @
1917017b
...
@@ -17,6 +17,8 @@ from .admin import MediaInline, MediaPermanentInline, site as admin_site
...
@@ -17,6 +17,8 @@ from .admin import MediaInline, MediaPermanentInline, site as admin_site
from
.models
import
Episode
,
Media
,
EpisodePermanent
,
Category
from
.models
import
Episode
,
Media
,
EpisodePermanent
,
Category
# Set TEMPLATE_DEBUG to True to ensure {% include %} will raise exceptions.
# That is how inlines are rendered and #9498 will bubble up if it is an issue.
@override_settings
(
PASSWORD_HASHERS
=
(
'django.contrib.auth.hashers.SHA1PasswordHasher'
,),
@override_settings
(
PASSWORD_HASHERS
=
(
'django.contrib.auth.hashers.SHA1PasswordHasher'
,),
TEMPLATE_DEBUG
=
True
,
TEMPLATE_DEBUG
=
True
,
ROOT_URLCONF
=
"generic_inline_admin.urls"
)
ROOT_URLCONF
=
"generic_inline_admin.urls"
)
...
@@ -24,10 +26,6 @@ class GenericAdminViewTest(TestCase):
...
@@ -24,10 +26,6 @@ class GenericAdminViewTest(TestCase):
fixtures
=
[
'users.xml'
]
fixtures
=
[
'users.xml'
]
def
setUp
(
self
):
def
setUp
(
self
):
# set TEMPLATE_DEBUG to True to ensure {% include %} will raise
# exceptions since that is how inlines are rendered and #9498 will
# bubble up if it is an issue.
self
.
client
.
login
(
username
=
'super'
,
password
=
'secret'
)
self
.
client
.
login
(
username
=
'super'
,
password
=
'secret'
)
# Can't load content via a fixture (since the GenericForeignKey
# Can't load content via a fixture (since the GenericForeignKey
...
...
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