Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJohn Hobaika
Courses Plus Student 153 PointsBuilding an App with Django
So I'm building an app where I am querying data from a redshift database based on inputs. Since django isnt really compatible with redshift, I can't use their ORM. I'm using psycopg2 to do all my querying. I don't have a choice with the DB and I'm most comfortable with Python, so that's why I'm doing what I'm doing. I'm basically looking to create a few drop-downs, and based on what is selected, will enter those inputs to my querying function and then output the results in a table. I'm currently unsure how to populate my drop-downs and then feed those selections as variables into my querying function. Can anyone help me with this or point me into some documentation to help? I've read the django documentation a few times and am currently stuck.