Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3432070
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:24:14+00:00 2026-05-18T07:24:14+00:00

I have two very simple classes Submission and Store class Submission(models.Model): title = models.CharField(max_length=50,

  • 0

I have two very simple classes Submission and Store

class Submission(models.Model):  
    title = models.CharField(max_length=50, null=True, blank=True)  
    description = models.CharField(max_length=200, null= True, blank=True)  
    store = models.ForeignKey(Store)  

class Store(models.Model):   
    store_name = models.CharField(max_length=200)  
    store_url = models.CharField(max_length=200)  

I’d like to look up all the Submissions for a particular Store, filtering by store_name.

In regular Django I can do something like

Submission.objects.filter(store__store_name__exact=_myStoreName_)  

However this appears to be invalid database query in Django with Google Appengine (using the djangoappengine package).

What can I do instead?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:24:14+00:00Added an answer on May 18, 2026 at 7:24 am
    inner_query = Store.objects.filter(store_name='storename')
    submissions = Submission.objects.filter(store__in=inner_query)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple composite model made of two classes: Public Class ParentModelVM
I have a very simple object model with a base class Person and two
I have two very simple classes, one extends the other: public class LocationType implements
I have a very simple scenario, using NHibernate: one abstract base class animal; two
I have two very simple, identical UITableViews in my app that are populated with
The situation is very simple, I have two panel. In the event of OnMouseOver
I want to create a very simple javascript form validation. I have two input
I have a very simple table with two columns, but has 4.5M rows. CREATE
I'm not very good in SQL and HQL... I have two domains: class Hotel
I have two very similar programs each trying to run two threads OddThread and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.