python-gsoc / python-blogs

Python Software Foundation GSoC Blog Platform. This system was used until 2024 but is no longer maintained.
http://python-gsoc.org/
GNU Affero General Public License v3.0
41 stars 60 forks source link

GSoC 2019 - Add theme for blogs #52

Closed botanicvelious closed 5 years ago

botanicvelious commented 5 years ago

This task is to theme the blog pages, as well as the blog posts so that the layout looks in line with the site as well as works on mobile etc.

MastersAbh commented 5 years ago

Taking it up @botanicvelious

MastersAbh commented 5 years ago

I have added the student blog pages and integrated it on the site. But, currently it displays all the articles, since we do not have any login functionality right now. I even made multiple users and added articles with them and it works fine when I hardcode for displaying articles for a particular user. But, the user will be anonymous in our case right now. How should I proceed ?

botanicvelious commented 5 years ago

Im not sure what you are asking?

This issue is just to theme the blog pages logins have nothing to do with it?

MastersAbh commented 5 years ago

I have queried the model in gsoc app and while querying, it fetches all the articles irrespective of which user has added it and thus, on the student-blogs page, all the articles will be displayed

MastersAbh commented 5 years ago
screenshot 3

I made another user and added an article by that user. But on this page, it displayed all the articles, which shouldn't have been the case if i was logged in as one of the users ??

botanicvelious commented 5 years ago

That looks correct, each user will have there own page and all articles will be displayed to everyone.