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
d4115868
Kaydet (Commit)
d4115868
authored
May 27, 2015
tarafından
Kevin Marsh
Kaydeden (comit)
Tim Graham
May 27, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[1.8.x] Removed unused import in example code in docs/topics/auth/default.txt
Backport of
10945ebe
from master
üst
b16f84f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
default.txt
docs/topics/auth/default.txt
+1
-1
No files found.
docs/topics/auth/default.txt
Dosyayı görüntüle @
d4115868
...
@@ -246,7 +246,7 @@ example, you can create the ``can_publish`` permission for a ``BlogPost`` model
...
@@ -246,7 +246,7 @@ example, you can create the ``can_publish`` permission for a ``BlogPost`` model
in ``myapp``::
in ``myapp``::
from myapp.models import BlogPost
from myapp.models import BlogPost
from django.contrib.auth.models import
Group,
Permission
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.models import ContentType
content_type = ContentType.objects.get_for_model(BlogPost)
content_type = ContentType.objects.get_for_model(BlogPost)
...
...
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