Skip to content

Commit

Permalink
Rename news comment relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Jan 26, 2019
1 parent 86949f3 commit d83b6d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geokrety_api_models/news.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class News(Base):
)

# author = relationship('User', backref=backref('news'))
news_comments = relationship(
comments = relationship(
'NewsComment',
backref="news",
cascade="all,delete"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="geokrety_api_models",
version="0.0.3",
version="0.0.4",
author="Mathieu Alorent",
author_email="kumy@geokrety.org",
description="The GeoKrety API ORM",
Expand Down

0 comments on commit d83b6d5

Please sign in to comment.