Browse Source

minor typo fix

Damien Accorsi 10 years ago
parent
commit
2007ed2789
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pboard/pboard/model/auth.py

+ 2 - 1
pboard/pboard/model/auth.py View File

@@ -70,7 +70,8 @@ class Group(DeclarativeBase):
70 70
     display_name = Column(Unicode(255))
71 71
     created = Column(DateTime, default=datetime.now)
72 72
     personnal_group = Column(Boolean)
73
-    users = relation('User', secondary=user_group_table, backref='groups')
73
+
74
+    users = relationship('User', secondary=user_group_table, backref='groups')
74 75
 
75 76
     _lRights = relationship('Rights', backref='_oGroup', cascade = "all, delete-orphan")
76 77