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.git
cd weblog-django
Mac/Linux users
python3 -m venv venv
source ./venv/bin/activate
Windows users
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
Run the Django development server:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Access 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.