This file contains hidden or 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
| class Product(models.Model): | |
| sku = models.CharField(max_length=100, default=DEFAULT_VALUE, blank=True) | |
| product_name = models.CharField(max_length=100, default=DEFAULT_VALUE, blank=True) | |
| parent_sku = models.CharField(max_length=100, default=DEFAULT_VALUE, blank=True) | |
| lead_time = models.IntegerField(default=1) | |
| purchase_price = models.FloatField(default=None, blank=False) | |
| product_category = models.CharField( | |
| max_length=100, default=DEFAULT_VALUE, blank=True | |
| ) |
This file contains hidden or 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
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
This file contains hidden or 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 bs4 import BeautifulSoup | |
| import requests | |
| from pathlib import Path | |
| from secrets import username , password | |
| import time | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.chrome.options import Options |
This file contains hidden or 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 bs4 import BeautifulSoup | |
| import requests | |
| from pathlib import Path | |
| from secrets import username , password | |
| import time | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.chrome.options import Options |