Skip to content

test and syncdb failed (Django 1.4, Windows 7) #22

Description

@taivo

Running the glamkit-eventtools test suite yields the error message below. When I copy the code for ExampleVenue, ExampleEvent, ExampleOccurrence from tests\eventtools_testapp into my models.py and run syncdb, I get the same error.

This error occurs in both the ixc branch and this glamkit branch.

Relevant specs:
Django 1.4
Windows 7
glamkit-eventtools v2.0.0a1

...
File "C:\path\to\models.py", line 17, in <module>
    class ExampleEvent(EventModel):
  File "C:\path\to\virtualenv\src\glamkit-eventtools\eventtools\models\event.py", line 230, in __new__
    manager = EventTreeManager(cls._mptt_meta) #since EventTreeManager subclasses TreeManager, it also needs the mptt options
TypeError: Error when calling the metaclass bases
    __init__() takes exactly 1 argument (2 given)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions