Skip to content

D1st3f/NewspaperAgency

Repository files navigation

Logo

Newspaper Agent

This project was created specifically for a newspaper company. It makes it easy to add posts. Editing and deleting won't be a problem either. The site also has topics for quick filtering of news.

⚡ Live DEMO: NewspaperAgency

  • You can use following superuser (or create another one by yourself):
    • Login: MajorUser
    • Password: MajorAdmin123

👩‍💻 Installation & Run

🧠 Set up the environment

On Windows:

python -m venv venv 
venv\Scripts\activate

On macOS:

python3 -m venv venv 
source venv/bin/activate

👯 Set up requirements

pip install -r requirements.txt

🤔 Make migrations and migrate

python manage.py migrate

📫 Install database fixture

python manage.py loaddata data.json

You can see images inside media folder. You can easily delete it. They was added here just to show you how look like completely filled site. If you are not going to use my data just delete it. Or they will be removed by themselves thanks to self-cleaning.

⚡️ Run server

python manage.py runserver

😄 Go to site http://127.0.0.1:8000/

🍈 How that works...

🧠 Total control:

  • Create Posts on website or admin-panel. All fields look the same.
  • Create Topics and connect it to posts just on website.
  • Users can registrate them self. But staff role they can take only in admin-panel.
  • Only staff user can CRUD with the ojects.

😋 GL HF!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published