How to Design Models for Matches in Django Dating App?

2017-12-23 Thread A Wall
I’m working on a dating app for a hackathon project. We have a series of questions that users fill out, and then every few days we are going to send suggested matches. If anyone has a good tutorial for these kinds of matching algorithms, it would be very appreciated. One idea is to assign a p

Selenium Functional Tests against Heroku-hosted Django Site

2016-10-13 Thread A Wall
Hello, I'm looking to run functional tests using Django 1.10.2 and Selenium 3.0.0 against a staging Django site hosted on Heroku. To be clear, I want to do something like entering the command $ python manage.py test my_functional tests --liveserver=[ip address of remote server here], as is rec

Help w/Transactions, select_for_update!

2016-03-22 Thread A Wall
Really hoping someone can help---didn't get any responses on stackoverflow, and django docs don't seem to give an exact answer. I have a bunch of views where I check if certain conditions are true before executing. I'm concerned about one user using a view that changes the data after the