I am currently working on a project that uses Misago as a base to create a Forum specialized in the COVID situation. Right now my task is to render COVID news into Misago's base.html, so it would look something like this...
^ As you can see I am displaying some cards and in theNews card, I use GoogleNews to change the new's title and image daily
Right now I am trying to inject my code into Misago, and I already have the layout of where I will place the cards
So, I decided to create a new app inside Misago that would control the logic and would send the GoogleNews information to the template I used for the cards.
Right now, the structure looks like this:
^ As a test, for now I am just trying to send the greetings variable
The problem is that I am not receiving the data in the template and I believe that the problem is in the urls folder.
This is what I have in api.py
And this is what I have in init.py