Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.49 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.49 KB

Famous women

(This page was made for educational purposes.)

To start the installation, clone the repository, then go to the directory cd coolsite

Next, install the required packages:

python3 -m pip install -r req.txt

Create new migrations

python3 manage.py makemigrations

Now apply the migrations

python3 manage.py migrate

And we start the server locally with the command:

python3 manage.py runserver

This is an image main page On the main page on the left we have a menu with a specialization of women. At the top right is registration and authorization. With the debug enabled mode, we have debug toolbar. In the contact section, we can send some information, there is also a captcha attached. If you are authorized. then you can add an article via "Add article".

There is also an admin panel for management:

image admin page

but before using it, you need to create an administrator with the command:

python3 manage.py createsuperuser

Then you will be asked to enter:

  • nickname
  • email (optional)
  • password