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
cef8f6a6
Kaydet (Commit)
cef8f6a6
authored
Tem 24, 2018
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.
üst
2a74ceb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
many_to_many.txt
docs/topics/db/examples/many_to_many.txt
+2
-2
No files found.
docs/topics/db/examples/many_to_many.txt
Dosyayı görüntüle @
cef8f6a6
...
...
@@ -39,7 +39,7 @@ API facilities. Note that if you are using :ref:`an intermediate model
manager's methods are disabled, so some of these examples won't work with such
models.
Create a
couple of
``Publications``::
Create a
few
``Publications``::
>>> p1 = Publication(title='The Python Journal')
>>> p1.save()
...
...
@@ -68,7 +68,7 @@ Associate the ``Article`` with a ``Publication``::
>>> a1.publications.add(p1)
Create another ``Article``, and set it to appear in
both
``Publications``::
Create another ``Article``, and set it to appear in
the
``Publications``::
>>> a2 = Article(headline='NASA uses Python')
>>> a2.save()
...
...
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