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
01ab84c6
Kaydet (Commit)
01ab84c6
authored
Ara 22, 2014
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #23525 -- Fixed admindocs crash on apps installed as eggs.
Thanks welbornprod for report and initial patch.
üst
cf2390be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
views.py
django/contrib/admindocs/views.py
+11
-6
1.7.2.txt
docs/releases/1.7.2.txt
+2
-0
No files found.
django/contrib/admindocs/views.py
Dosyayı görüntüle @
01ab84c6
...
...
@@ -315,6 +315,10 @@ def load_all_installed_template_libraries():
# Load/register all template tag libraries from installed apps.
for
module_name
in
template
.
get_templatetags_modules
():
mod
=
import_module
(
module_name
)
if
not
hasattr
(
mod
,
'__file__'
):
# e.g. packages installed as eggs
continue
try
:
libraries
=
[
os
.
path
.
splitext
(
p
)[
0
]
...
...
@@ -322,12 +326,13 @@ def load_all_installed_template_libraries():
if
p
.
endswith
(
'.py'
)
and
p
[
0
]
.
isalpha
()
]
except
OSError
:
libraries
=
[]
for
library_name
in
libraries
:
try
:
template
.
get_library
(
library_name
)
except
template
.
InvalidTemplateLibrary
:
pass
continue
else
:
for
library_name
in
libraries
:
try
:
template
.
get_library
(
library_name
)
except
template
.
InvalidTemplateLibrary
:
pass
def
get_return_data_type
(
func_name
):
...
...
docs/releases/1.7.2.txt
Dosyayı görüntüle @
01ab84c6
...
...
@@ -160,3 +160,5 @@ Bugfixes
a crash when the index name requires it (:ticket:`#24015`).
* Added ``datetime.time`` support to migrations questioner (:ticket:`23998`).
* Fixed admindocs crash on apps installed as eggs (:ticket:`23525`).
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