Re: Error when loading application server

2013-07-03 Thread Hélio Miranda
my url is: http://onpitch-dev.life-emotions.local/onpitch/api/v1/Game and my class is like this: *class Game(mongoengine.Document):* *result = StringField()* *date = DateTimeField()* *hour = DateTimeField()* *stops = IntField()* *total_time = IntField()* *lost_time = IntFie

Re: Error when loading application server

2013-07-03 Thread Tom Christie
Hi Helio, Something somewhere is expecting an integer but receiving an empty string instead. This could be the result of a missing component in the URL eg `http://example.com/users//`, or a field in a JSON or form data request that's missing a value, eg: { "score": "" ... } Hope that hel

Error when loading application server

2013-07-03 Thread Hélio Miranda
Hi I have a Django application, I am using the tastypie too. What happens when meth is my application server, I get this error on a page: *"error_message": "invalid literal for int() with base 10: ''"* Someone can explain me why? What do I fix? -- You received this message because you are sub