Skip to content

DEsipov/webinar_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Запуск проекта.

  1. Создать вирт. окружение.
  2. Обновить pip python -m pip install --upgrade pip
  3. Установить зависимости pip install -r requirements.txt
  4. Применить миграции ./manage.py migrate
  5. Создать суперюзера ./manage.py createmigrations
  6. Запустить сервер ./manage.py runserver

FBV

webinar/posts/views.py

CBV

webinar/posts/views_cbv.py

Полезняшки

Настройка проекта в pycharm:

https://docs.google.com/document/d/19UgTDif72r4c72AK1ogfg8IMf8vje3-ygslNS9bjWyg/edit

Что такое *args и **kwargs:

https://habr.com/ru/company/ruvds/blog/482464/

Шпора CBV

https://docs.google.com/document/d/18qB9GxxQueJkh9_usJHbgjzx1FcRhFzd2ogW2TOKyBY/edit#

Доки CBV

https://docs.djangoproject.com/en/4.1/topics/class-based-views/intro/

Декораторы

Примеры декораторов находятся тут:

webinar/utils/decorators

Шпора:

https://docs.google.com/document/d/11Rl3RuipECq4WDZ6_XvXHy9ecSNFC6gEediSx6fLrgY/edit?usp=sharing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors