Skip to content

saeedsh78/articles-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Article Website

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.

Static Badge Static Badge MIT License

Getting Started

  1. Clone the Repository:
  git clone https://github.com/saeedsh78/articles-site
  cd articles-site
  1. Create a Virtual Environment:
python -m venv venv
  1. Activate the Virtual Environment:
  • On Windows:
venv\Scripts\activate
  • On macOS/Linux:
source venv/bin/activate
  1. Install Dependencies:
pip install -r requirements.txt
  1. Apply Migrations:
python manage.py migrate
  1. Create a Superuser (Admin):
python manage.py createsuperuser
  1. Run the Development Server:
python manage.py runserver

Visit http://127.0.0.1:8000/ in your browser to explore the website.

  1. Admin Panel: Access the Django admin panel at http://127.0.0.1:8000/admin/ using the superuser credentials.

Features

  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published