I'm sure someone can help you, but you need to post some more information 
to get useful support. Please post the models that you are dealing with, as 
well as maybe an example of the result you are trying to get. 

On Wednesday, February 11, 2015 at 8:20:59 AM UTC-6, Ajay M wrote:
>
> I'm on a Django Project, I'm stuck with this situation. I've 3 Models, 
> records,users and towns. Records are posted by users who belongs to towns. 
> User may be a mobile user or a web user. Primary key of users is a foreign 
> key in records, primary key of towns is a foreign key in users. I need to 
> find the total number of posts made by web users and mobile users, who 
> belongs to the top 5 towns by numbers of records. Can any one help me to 
> find that?
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/767eeeac-5395-4bcc-b5c2-0d32fc61b331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to