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
bc787f6a
Kaydet (Commit)
bc787f6a
authored
Şub 24, 2013
tarafından
Aymeric Augustin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Loaded cycle and firstof from future in built-in templates. Refs #17906.
This was missing from
f49e9a51
.
üst
99edbe0e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
base.html
django/contrib/admin/templates/admin/base.html
+2
-2
change_list_results.html
...go/contrib/admin/templates/admin/change_list_results.html
+1
-1
tabular.html
...go/contrib/admin/templates/admin/edit_inline/tabular.html
+1
-1
template_filter_index.html
.../admindocs/templates/admin_doc/template_filter_index.html
+1
-1
template_tag_index.html
...rib/admindocs/templates/admin_doc/template_tag_index.html
+1
-1
debug.py
django/views/debug.py
+1
-1
No files found.
django/contrib/admin/templates/admin/base.html
Dosyayı görüntüle @
bc787f6a
{% load admin_static %}
<!DOCTYPE html>
{% load admin_static %}
{% load firstof from future %}
<!DOCTYPE html>
<html
lang=
"{{ LANGUAGE_CODE|default:"
en-us
"
}}"
{%
if
LANGUAGE_BIDI
%}
dir=
"rtl"
{%
endif
%}
>
<head>
<title>
{% block title %}{% endblock %}
</title>
...
...
@@ -26,7 +26,7 @@
{% if user.is_active and user.is_staff %}
<div
id=
"user-tools"
>
{% trans 'Welcome,' %}
<strong>
{% fi
lter force_escape %}{% firstof user.get_short_name user.get_username %}{% endfilter
%}
</strong>
.
<strong>
{% fi
rstof user.get_short_name user.get_username
%}
</strong>
.
{% block userlinks %}
{% url 'django-admindocs-docroot' as docsroot %}
{% if docsroot %}
...
...
django/contrib/admin/templates/admin/change_list_results.html
Dosyayı görüntüle @
bc787f6a
{% load i18n admin_static %}
{% load i18n admin_static %}
{% load cycle from future %}
{% if result_hidden_fields %}
<div
class=
"hiddenfields"
>
{# DIV for HTML validation #}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
...
...
django/contrib/admin/templates/admin/edit_inline/tabular.html
Dosyayı görüntüle @
bc787f6a
{% load i18n admin_static admin_modify %}
{% load i18n admin_static admin_modify %}
{% load cycle from future %}
<div
class=
"inline-group"
id=
"{{ inline_admin_formset.formset.prefix }}-group"
>
<div
class=
"tabular inline-related {% if forloop.last %}last-related{% endif %}"
>
{{ inline_admin_formset.formset.management_form }}
...
...
django/contrib/admindocs/templates/admin_doc/template_filter_index.html
Dosyayı görüntüle @
bc787f6a
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load i18n %}
{% load firstof from future %}
{% block coltype %}colSM{% endblock %}
{% block breadcrumbs %}
...
...
django/contrib/admindocs/templates/admin_doc/template_tag_index.html
Dosyayı görüntüle @
bc787f6a
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load i18n %}
{% load firstof from future %}
{% block coltype %}colSM{% endblock %}
{% block breadcrumbs %}
...
...
django/views/debug.py
Dosyayı görüntüle @
bc787f6a
...
...
@@ -926,7 +926,7 @@ Exception Value: {{ exception_value|force_escape }}
</html>
"""
TECHNICAL_500_TEXT_TEMPLATE
=
"""{
%
firstof exception_type 'Report'
%
}{
%
if request
%
} at {{ request.path_info }}{
%
endif
%
}
TECHNICAL_500_TEXT_TEMPLATE
=
"""{
%
load firstof from future
%
}{
%
firstof exception_type 'Report'
%
}{
%
if request
%
} at {{ request.path_info }}{
%
endif
%
}
{
%
firstof exception_value 'No exception supplied'
%
}
{
%
if request
%
}
Request Method: {{ request.META.REQUEST_METHOD }}
...
...
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