Skip to content
Snippets Groups Projects
Commit 579ec12f authored by thomaswoehlke's avatar thomaswoehlke
Browse files

work

parent 84f8b445
No related branches found
No related tags found
2 merge requests!161Issue 66 attempt 01,!160Issue 66 attempt 01
......@@ -21,7 +21,7 @@ class EuropeCountry(db.Model):
country_territory_code = db.Column(db.String(255), nullable=False)
continent_id = db.Column(db.Integer, db.ForeignKey('common_region.id'), nullable=False)
continent = db.relationship('EuropeContinent', lazy='subquery', order_by='EuropeContinent.continent_exp')
continent = db.relationship('CommonRegion', lazy='subquery', order_by='CommonRegion.region')
@classmethod
def remove_all(cls):
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment