python - Django - invalid literal for int() with base 10: ''' -


invalid literal int() base 10: '''  

is error occurring. recieving error whilst trying update database register pcap files.

following line on error occurs

pcaps.objects.update_or_create(filename=pcapname, filehash=malwarehash, uuid=uuid) 

here model inserting.

class pcaps(models.model):      filename = models.charfield(max_length=100, default='')      datetime = models.datetimefield(default=datetime.now, blank=true)      filehash = models.foreignkey(malwares)      uuid = models.foreignkey(system) 


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -