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
406de977
Kaydet (Commit)
406de977
authored
Mar 11, 2019
tarafından
alexanderblnf
Kaydeden (comit)
Tim Graham
Mar 12, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
üst
d7765773
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
intro.txt
docs/topics/class-based-views/intro.txt
+3
-0
decorators.txt
docs/topics/http/decorators.txt
+3
-0
No files found.
docs/topics/class-based-views/intro.txt
Dosyayı görüntüle @
406de977
...
...
@@ -307,6 +307,9 @@ decorator. In the example, ``never_cache()`` will process the request before
``login_required()``.
In this example, every instance of ``ProtectedView`` will have login protection.
These examples use ``login_required``, however, the same behavior can be
obtained more simply using
:class:`~django.contrib.auth.mixins.LoginRequiredMixin`.
.. note::
...
...
docs/topics/http/decorators.txt
Dosyayı görüntüle @
406de977
...
...
@@ -7,6 +7,9 @@ View decorators
Django provides several decorators that can be applied to views to support
various HTTP features.
See :ref:`decorating-class-based-views` for how to use these decorators with
class-based views.
Allowed HTTP methods
====================
...
...
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