Django移动规范的数据库视图

时间:2019-05-01 08:20:03

标签: python django

我想为Django中的移动规范创建一个数据库。但是我对如何为其创建模型/表有些困惑。 我有一堆列,例如:

[
['Brand', 'Aliases'], 
['Release date', 'State'], 
['Predecessor', 'Successors'], 
['Size', 'Aspect Ratio', 'Weight', 'Usable surface', 'Materials', 'Colors', 'Origami'], 
['Diagonal', 'Type', 'Resolution', 'Density', 'Others'],
[''],
[''], 
['Model', 'CPU', 'Type', 'Frequency', '64 Bits'], 
['GPU'], 
['RAM', 'Type'],
['Score'], 
['Capacity', 'More or less equivalent to', 'SD Slot'],
['Fingerprint'], 
['Fingerprint', 'Accelerometer', 'Geomagnetic', 'Gravity', 'Gyroscope', 'Light sensor', 'Proximity'], 
['Notifications LED', 'Cooling system'], 
['Resolution', 'Sensor', 'Type', 'Aperture', 'Pixel size'], 
['Resolution', 'Aperture'],
['Flash', 'Optical Stabilisation', 'Slow Motion Video', 'Features'],
['Resolution', 'Aperture'], ['Extra'], 
['4G LTE', '3G', '2G'],
['Type'], 
['Standards', 'Others'], 
['Version', 'Profiles'],
['Supports'],
['Charging', 'Mass Storage', 'USB On-The-Go (OTG)', 'USB Type C'],
['--', ''],
['NFC', 'Audio Jack', 'Radio FM', 'Computer sync', 'OTA sync', 'Tethering.', 'VoLTE'],
['Capacity', 'Type', 'Others'], 
['Operating System']
]

0 个答案:

没有答案