This is a blog website built using Django for the backend and HTML with Bootstrap CSS for the frontend. The website allows users to create profiles and add their information, such as name, profile picture, and email address. The site administration functionality enables the administrator to manage users and posts.
- User Profiles: Users can create and update their profiles with their name, profile picture, and email address.
- User Authentication: Secure login and registration functionality.
- Post Management: Users can create, read, update, and delete blog posts.
- Site Administration: Administrators can manage users and posts, including creating and deleting users and posts.
-
Clone the repository:
git clone https://github.com/eizadhamdan/Blog_Website cd Blog_Website
-
Navigate to the project directory:
cd django_project
-
Apply the migrations:
python manage.py migrate
-
Create a superuser for site administration:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the website: Open your web browser and go to
http://127.0.0.1:8000/
.
- Users can register for an account and log in.
- After logging in, users can create and update their profiles by adding their name, profile picture, and email address.
- Logged-in users can create new blog posts, edit their existing posts, and delete posts they own.
- The site administrator can log in to the Django admin interface at
http://127.0.0.1:8000/admin/
. - From the admin interface, the administrator can create, update, and delete user accounts.
- The administrator can also manage blog posts, including creating new posts and deleting existing ones.