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/CAAEkprV8SMEjYvjbAa-LdyoeLE%3DPtS%3DVD2aCGkgg0ZwDLfVWEA%40mail.gmail.com.

Reply via email to