Skip to content

Commit a73993c

Browse files
committed
wip
1 parent 784ce04 commit a73993c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class GrupoOtros(Listable):
9494

9595
class Noticia(Base):
9696
__tablename__ = 'noticias'
97-
id = Column(Integer, primary_key=T)
97+
id = Column(Integer, primary_key=True)
9898
text = Column(Text, nullable=False)
9999
date = Column(Date, nullable=False, default=datetime.date.today)
100100
validado = Column(Boolean, default=True)

0 commit comments

Comments
 (0)