class Meta:
indexes = [models.Index(fields=['match_id']),]
import pandas as pd
table = pd.read_html('https://coinmarketcap.com/')[-1]
| # | Name | Market Cap | Price | Volume (24h) | Circulating Supply | Change (24h) | Price Graph (7d) | Unnamed: 8 | |
|---|-------------------------------------|------------|------------------|--------------|--------------------|-----------------|------------------|------------|-----|
| 0 | 1 | Bitcoin | $167,561,603,708 | $9,206.92 | $30,227,614,663 | 18,199,525 BTC | -1.01% | NaN | NaN |
| 1 | 2 | Ethereum | $20,694,812,901 | $188.89 | $11,929,440,003 | 109,561,828 ETH | -0.04% | NaN | |
SELECT "scrap_matchesfull"."id",
"scrap_matchesfull"."match_id",
"scrap_matchesfull"."status",
"scrap_matchesfull"."home_id",
"scrap_matchesfull"."away_id",
"scrap_matchesfull"."date",
"scrap_matchesfull"."season_id_id",
"scrap_matchesfull"."url_slug",
"scrap_matchesfull"."league_id",
"scrap_matchesfull"."result",
"scrap_matchesfull"."rating",
"scrap_matchesfull"."show",
"scrap_matchesfull"."stats",
"scrap_matchesfull"."pre_match",
"scrap_matchesfull"."last_update",
"scrap_matchesfull"."admin_str"
FROM "scrap_matchesfull"
WHERE "scrap_matchesfull"."match_id" = 11878507
Юзать datetime, например