Blog project is a simple website where people can share articles about a topic. Every user who creates an account can share an article on any topic. People can read shared articles but they cannot write any articles without logging in. Every user has an profile page which consist of profile image and personal informations. Additionally, user can update their profile using this profile page. All articles are paginated and people can filter articles by title, author and text which is in article.
This project is coded using Python-Django and it uses PostgreSql as its database instead of Django's default SQlite database. Furthermore, frontend design of this project uses Bootstrap.
Blog directory is consist of views, templates, models, urls about posts.
All models about posts is in this file. Such as, Post Model, Author model. Author Model is linked to the Post Model by one-to-many relationship.
This file links the items that are displayed in the UI with html templates.
The file where the urls to show the views are set.
All html templates for displaying items in this folder.
Views, models, urls, templates which are related to user are in this folder.
User model is in this directory.
Register, Login, Profile views are in here.
Register, Login, Profile page urls are edited here.
HTML templates created here to display registration, login and profile page.
Image Folder
Svg images which are used for design.
The profile photos of registered user are kept in this folder.
The articles images are kept in here.