Welcome to the Django Article Website! This project is a simple web application built with Django, a high-level Python web framework, to manage and display articles. The website was developed based on the instructional content from the YouTube tutorial series available at this link.
- Clone the Repository:
git clone https://github.com/saeedsh78/articles-site
cd articles-site
- Create a Virtual Environment:
python -m venv venv
- Activate the Virtual Environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- Install Dependencies:
pip install -r requirements.txt
- Apply Migrations:
python manage.py migrate
- Create a Superuser (Admin):
python manage.py createsuperuser
- Run the Development Server:
python manage.py runserver
Visit http://127.0.0.1:8000/ in your browser to explore the website.
- Admin Panel: Access the Django admin panel at http://127.0.0.1:8000/admin/ using the superuser credentials.
- Article Management:
- Create, edit, and delete articles through the custom admin panel.
- User Authentication:
- Users can register, log in, and log out.
- Reset Password: Allow users to reset their passwords through email verification
- User Interaction::
- Comment System: Registered users can leave comments on articles.
- Article Views: Track the number of views for each article, providing insights into article popularity.
- User Roles:
- Identify Special Users: Designate certain users as "Special Users" with elevated privileges.