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
# download binary openssl packages from Impish builds | |
wget http://ports.ubuntu.com/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_arm64.deb | |
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
# install downloaded binary packages | |
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb | |
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb | |
sudo dpkg -i openssl_1.1.1f-1ubuntu2_arm64.deb |
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
##Complex Models: | |
class Profile(db.Model): | |
id = db.Column(db.Integer, primary_key=True) | |
name = db.Column(db.String(100)) | |
reports = db.relationship( | |
'Report', backref='profile_of_report', lazy='dynamic') | |
class Report(db.Model): |