Hi. I'm trying to deploy a Django nonrel (mongodb) server and I managed myself to configure all the system properly (I don't know even how). All works perfectly except that one model ins't getting data from the database. In this image you can see how the c variable (which is assigned with c = champions.objects.all() in the code) isn't getting any data at all while the variable ss does.
I checked if the problem happened in the shell too but no. You can see in the next image how the python shell in the ssh session returns the objects perfectly. Does anyone have a clue that may help me? Thanks in advance. asked 06 Sep '16, 11:03 yrthgze |
OK, I solved it removing the MongoMeta from the models and redoing the syncdb after dropping all the collections. Thanks answered 06 Sep '16, 16:13 yrthgze |