This is a weblog project built using Django framework, Bootstrap, jQuery, and class-based views. The project allows users to sign up, log in, delete their account, change profile information, view, search, create, and update posts. Authenticated users can also leave comments on post detail pages.
git clone https://github.com/sinasezza/weblog-django.gitcd weblog-djangoMac/Linux users
python3 -m venv venv
source ./venv/bin/activateWindows users
python -m venv venv
venv\Scripts\activatepip install -r requirements.txtRun the Django development server:
python manage.py makemigrations
python manage.py migrate
python manage.py runserverAccess the application in your web browser at http://127.0.0.1:8000.
-
User Authentication:
- Sign up
- Log in
- Delete account
- Change profile information
-
Post Management:
- View Published Posts
- Search Among Published Posts
- Create new posts
- Update existing posts
-
Comment System:
- Authenticated users can leave comments on post detail pages.
The project follows a typical Django application structure, with the following main components:
-
authentication_app: Handles user authentication, including sign up, log in, profile management, and account deletion.
-
blog: Manages posts and comments, including creation, updating, and deletion of posts, as well as commenting functionality.
-
templates: Contains HTML templates for rendering web pages.
-
static: Stores static files such as CSS, JavaScript, and images.
Contributions are welcome! Feel free to fork the repository, make changes, and submit a pull request.