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
0a9bd266
Kaydet (Commit)
0a9bd266
authored
Ara 23, 2016
tarafından
Adam Chainz
Kaydeden (comit)
Tim Graham
Ara 23, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Documented url()'s 'regex' parameter.
üst
8fb82a31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
urls.txt
docs/ref/urls.txt
+7
-0
translation.txt
docs/topics/i18n/translation.txt
+1
-0
No files found.
docs/ref/urls.txt
Dosyayı görüntüle @
0a9bd266
...
@@ -33,6 +33,13 @@ Helper function to return a URL pattern for serving files in debug mode::
...
@@ -33,6 +33,13 @@ Helper function to return a URL pattern for serving files in debug mode::
...
...
]
]
The ``regex`` parameter should be a string or
:func:`~django.utils.translation.ugettext_lazy()` (see
:ref:`translating-urlpatterns`) that contains a regular expression compatible
with Python's :py:mod:`re` module. Strings typically use raw string syntax
(``r''``) so that they can contain sequences like ``\d`` without the need to
escape the backslash with another backslash.
The ``view`` parameter is a view function or the result of
The ``view`` parameter is a view function or the result of
:meth:`~django.views.generic.base.View.as_view` for class-based views. It can
:meth:`~django.views.generic.base.View.as_view` for class-based views. It can
also be an :func:`include`.
also be an :func:`include`.
...
...
docs/topics/i18n/translation.txt
Dosyayı görüntüle @
0a9bd266
...
@@ -1533,6 +1533,7 @@ will be::
...
@@ -1533,6 +1533,7 @@ will be::
Ensure that you don't have non-prefixed URL patterns that might collide
Ensure that you don't have non-prefixed URL patterns that might collide
with an automatically-added language prefix.
with an automatically-added language prefix.
.. _translating-urlpatterns:
Translating URL patterns
Translating URL patterns
------------------------
------------------------
...
...
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