for example: https://docs.djangoproject.com/en/3.0/ref/models/fields/#foreignkey
El vie., 17 de ene. de 2020 a la(s) 11:43, Jonathan Villavicencio ( codejonvi...@gmail.com) escribió: > In your model define a class and in out make the relationship with other > class that reference the other table in the database > > El vie., 17 de ene. de 2020 a la(s) 11:14, Stephen (stephen.u...@gmail.com) > escribió: > >> sqlite3 >> >> On Friday, 17 January 2020 16:53:01 UTC+1, Jonathan Villavicencio wrote: >>> >>> Hello Stephen, >>> >>> What is the database you are using? >>> >>> El vie., 17 de ene. de 2020 a la(s) 10:25, Stephen (steph...@gmail.com) >>> escribió: >>> >>>> How can I connect 2 database tables together please?. I am trying to >>>> display some objects in a table by selecting an object that is in another >>>> table. How do I connect them please? >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to django...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/fa1798cf-a27f-459a-a814-a31c3431ca8b%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/fa1798cf-a27f-459a-a814-a31c3431ca8b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/139dbb63-5027-4db2-91b4-5409e6ef70bb%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/139dbb63-5027-4db2-91b4-5409e6ef70bb%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAEkprXrEE1CirqQ79QnzALLKb8%2BxV%2BcAucX90kjHecaiZj-2Q%40mail.gmail.com.