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
6fef4be6
Kaydet (Commit)
6fef4be6
authored
May 19, 2013
tarafından
Marc Tamlyn
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1141 from inglesp/typo
Typo in comment
üst
33c361ef
cafcc22b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
__init__.py
django/contrib/auth/management/__init__.py
+1
-1
No files found.
django/contrib/auth/management/__init__.py
Dosyayı görüntüle @
6fef4be6
...
@@ -80,7 +80,7 @@ def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kw
...
@@ -80,7 +80,7 @@ def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kw
for
perm
in
_get_all_permissions
(
klass
.
_meta
,
ctype
):
for
perm
in
_get_all_permissions
(
klass
.
_meta
,
ctype
):
searched_perms
.
append
((
ctype
,
perm
))
searched_perms
.
append
((
ctype
,
perm
))
# Find all the Permissions that have a conte
x
t_type for a model we're
# Find all the Permissions that have a conte
n
t_type for a model we're
# looking for. We don't need to check for codenames since we already have
# looking for. We don't need to check for codenames since we already have
# a list of the ones we're going to create.
# a list of the ones we're going to create.
all_perms
=
set
(
auth_app
.
Permission
.
objects
.
using
(
db
)
.
filter
(
all_perms
=
set
(
auth_app
.
Permission
.
objects
.
using
(
db
)
.
filter
(
...
...
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