Spanning multi-valued relationships with 'filter' and 'values'

2019-03-23 Thread Christhian Jesus
When i try to follow the relationship with 'filter', the lookup is ignored: Evaluacion.objects.values('id', 'periodo__indicador').filter( periodo__indicador=1) My Django version is 2.1.7 and Python 3.7.2 My model is: Class Periodo(models.Model): pass Class Indicador(models.Model): per

Re: Deployment on Heroku

2019-03-25 Thread Christhian Jesus
Add gunicorn to requeriments.txt On Mon, Mar 25, 2019 at 3:26 AM Ahmed Ishtiaque wrote: > From the looks of it, it seems that in your procfile you need to point to > the *exact* location gunicorn is installed in. So this could be somewhere > like ~/.local/lib/pythonx.y/site-packages/gunicorn dir