Skip to content

Commit d83b6d5

Browse files
committed
Rename news comment relationship
1 parent 86949f3 commit d83b6d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

geokrety_api_models/news.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class News(Base):
7171
)
7272

7373
# author = relationship('User', backref=backref('news'))
74-
news_comments = relationship(
74+
comments = relationship(
7575
'NewsComment',
7676
backref="news",
7777
cascade="all,delete"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="geokrety_api_models",
8-
version="0.0.3",
8+
version="0.0.4",
99
author="Mathieu Alorent",
1010
author_email="[email protected]",
1111
description="The GeoKrety API ORM",

0 commit comments

Comments
 (0)