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
f576b23a
Kaydet (Commit)
f576b23a
authored
Tem 12, 2015
tarafından
Szilveszter Farkas
Kaydeden (comit)
Tim Graham
Tem 12, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #25073 -- Added verbose_name to contrib's model fields that were missing it.
üst
f46a7747
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
models.py
django/contrib/admin/models.py
+2
-2
models.py
django/contrib/auth/models.py
+1
-1
models.py
django/contrib/flatpages/models.py
+1
-1
models.py
django/contrib/redirects/models.py
+1
-1
No files found.
django/contrib/admin/models.py
Dosyayı görüntüle @
f576b23a
...
...
@@ -27,8 +27,8 @@ class LogEntryManager(models.Manager):
@python_2_unicode_compatible
class
LogEntry
(
models
.
Model
):
action_time
=
models
.
DateTimeField
(
_
(
'action time'
),
auto_now
=
True
)
user
=
models
.
ForeignKey
(
settings
.
AUTH_USER_MODEL
)
content_type
=
models
.
ForeignKey
(
ContentType
,
blank
=
True
,
null
=
True
)
user
=
models
.
ForeignKey
(
settings
.
AUTH_USER_MODEL
,
verbose_name
=
_
(
'user'
)
)
content_type
=
models
.
ForeignKey
(
ContentType
,
verbose_name
=
_
(
'content type'
),
blank
=
True
,
null
=
True
)
object_id
=
models
.
TextField
(
_
(
'object id'
),
blank
=
True
,
null
=
True
)
object_repr
=
models
.
CharField
(
_
(
'object repr'
),
max_length
=
200
)
action_flag
=
models
.
PositiveSmallIntegerField
(
_
(
'action flag'
))
...
...
django/contrib/auth/models.py
Dosyayı görüntüle @
f576b23a
...
...
@@ -59,7 +59,7 @@ class Permission(models.Model):
created for each Django model.
"""
name
=
models
.
CharField
(
_
(
'name'
),
max_length
=
255
)
content_type
=
models
.
ForeignKey
(
ContentType
)
content_type
=
models
.
ForeignKey
(
ContentType
,
verbose_name
=
_
(
'content type'
)
)
codename
=
models
.
CharField
(
_
(
'codename'
),
max_length
=
100
)
objects
=
PermissionManager
()
...
...
django/contrib/flatpages/models.py
Dosyayı görüntüle @
f576b23a
...
...
@@ -22,7 +22,7 @@ class FlatPage(models.Model):
registration_required
=
models
.
BooleanField
(
_
(
'registration required'
),
help_text
=
_
(
"If this is checked, only logged-in users will be able to view the page."
),
default
=
False
)
sites
=
models
.
ManyToManyField
(
Site
)
sites
=
models
.
ManyToManyField
(
Site
,
verbose_name
=
_
(
'sites'
)
)
class
Meta
:
db_table
=
'django_flatpage'
...
...
django/contrib/redirects/models.py
Dosyayı görüntüle @
f576b23a
...
...
@@ -6,7 +6,7 @@ from django.utils.translation import ugettext_lazy as _
@python_2_unicode_compatible
class
Redirect
(
models
.
Model
):
site
=
models
.
ForeignKey
(
Site
)
site
=
models
.
ForeignKey
(
Site
,
verbose_name
=
_
(
'site'
)
)
old_path
=
models
.
CharField
(
_
(
'redirect from'
),
max_length
=
200
,
db_index
=
True
,
help_text
=
_
(
"This should be an absolute path, excluding the domain name. Example: '/events/search/'."
))
new_path
=
models
.
CharField
(
_
(
'redirect to'
),
max_length
=
200
,
blank
=
True
,
...
...
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