I know this doesn’t help your overall goal, but that message means you’re trying to put a NULL in a not nullable DB field. So you need to make sure you’re pumping data into all fields that cannot be NULL.
But I feel like you have a bigger goal in mind, and I think we need to know that before giving any actual advice.
Where / how are you running this? Are you running this from the Django shell?
(Side note: I recommend you start using Django’s coding conventions. Class names should be capitalized, variables lower-cased. It’ll help avoid confusion.)