Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1208 Wrong error mark

closed-works-for-me
Editor (491)
5
2010-08-25
2010-08-25
kangzhi shi
No

The following code is no problem, but the pydev get an error mark "Duplicated signature" on second Account

class Account(db.Model): pass

class Member(db.Model):
user = db.UserProperty()
name = db.StringProperty()
account = db.ReferenceProperty(Account)

class Account(db.Model):
admin = db.ReferenceProperty(Member)

Discussion

  • Fabio Zadrozny
    Fabio Zadrozny
    2010-08-25

    The warning seems correct for me as the 2nd account will not be accessible later. If you want you can choose to silent it using ctrl+1 and choosing the option to add an ignore text to the file.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2010-08-25

    • status: open --> closed-works-for-me