SarathkumarJ / snapboard

Automatically exported from code.google.com/p/snapboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

model validation error with ThreadManager #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
snapboard revision 166 patched with attached file to issue 16, django
revision 4828.

After patching the last issue, I ran into:

> python manage.py validate snapboard
snapboard: Error when calling the metaclass bases
    unbound method contribute_to_class() must be called with ThreadManager
instance as first argument (got ModelBase instance instead)
1 error found.
> 

I'm currently digging into it, but I've yet to identify where the issue is.

Original issue reported on code.google.com by johnnie....@gmail.com on 5 Apr 2007 at 7:37

GoogleCodeExporter commented 8 years ago
ThreadMananger was not getting instantiated inside of model Thread.  See the 
attached
patch for the fix.

Original comment by johnnie....@gmail.com on 5 Apr 2007 at 9:39

Attachments:

GoogleCodeExporter commented 8 years ago
Patched.  please confirm

Original comment by bs1...@gmail.com on 12 Apr 2007 at 8:54

GoogleCodeExporter commented 8 years ago

Original comment by bs1...@gmail.com on 12 Apr 2007 at 8:55

GoogleCodeExporter commented 8 years ago
Verified in rev 168.

Original comment by johnnie....@gmail.com on 12 Apr 2007 at 10:00