On Tuesday 07 March 2017 10:50:24 aysha...@gmail.com wrote:
> Greetings,
> 
> I am trying to do a join on the following 2 models (tables)

Models cannot be joined. There is no Model.join(). Models are 
objects you can relate to eachother.
Once you stop thinking in database terms, the problem is easily 
solved.

Since the two models are identical, why would you use two models? 
Your problem starts with your design - rethink it.
-- 
Melvyn Sopacua

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3775117.p8YKjnGoSi%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to