How do I get super() to work in python? I keep getting an error message and the only way to get it to go away is to have something inside the ()
How do I get super to work? I'm taking a DJANGO class, everything is working great, but I keep getting an error message and the only way to get it to go away is to have something inside the (). like super(self). Everything I find online has the super() please help me figure out why it isn't working!!!
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context ['my_thing'] = "this is a new headline"
return context