- make new virutalenv with python3
- install django and create sample project (with name "sample")
- create git repo inside project's root folder
- pull this repo to github.com
- to configure django project use https://github.com/jazzband/django-configurations/
- create abstract super class "CoreModel" for models with fields:
- enabled: bool
- created: datetime: "auto now" when create
- updated: datetime: "auto now" when update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.sublime-* | |
*.tmPreferences.cache | |
*.xccheckout | |
*.xcscmblueprint | |
*.xcuserstate | |
*.xcworkspace | |
*~ | |
.cache | |
.coverage | |
.coverage.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from seleniumwire import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.support.ui import WebDriverWait | |
# open browser; | |
options = webdriver.ChromeOptions() | |
options.add_argument("--window-size=1920,2000") | |
driver = webdriver.Chrome(chrome_options=options) |