Skip to content

aes4096/Django_Blog_version_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparation

Rename _.env to .env. Execute command in Pycharm

python.exe -m pip install --upgrade pip
pip install -r requirements.txt

Create database

PostgreSQL 17.4.

CREATE USER blog_user WITH PASSWORD 'password';
CREATE DATABASE blog_db OWNER blog_user ENCODING 'UTF8' LC_COLLATE 'ru_RU.UTF8' LC_CTYPE 'ru_RU.UTF8' TEMPLATE=template0;

Applying migration to a database

Execute command in Pycharm

python manage.py migrate

Create superuser

Execute command in Pycharm

python manage.py createsuperuser

Image

Image alt Image alt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published