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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -