[Django]-Django queries return empty strings

3👍

When you overrode Blog.__init__(), you did not send *args and **kwargs to the parent. Django Model magic needs those parameters. If you’re not doing anything in __init__() you could just remove that all together.

If you want to keep it, do something like:

def __init__(self, *args, **kwargs):
    super(Blog, self).__init__(*args, **kwargs)

Leave a comment