Open feuervogel opened 14 years ago
Thanks for reporting this issue and posting a fix. May I ask which database you're using (postgres, sqlite, etc.) when those test fail?
i'm using sqlite for testing.
I'm afraid I can't reproduce the issues you're reporting here. I've tried with sqlite and all tests pass...
Same problem, using Django 1.3.1 and PostgreSQL (Psycopg 2.4.1 since 2.4.2 is broken with Django 1.3.x)
hi, in django 1.6 treemenus work fine, but i'm upgrade to django 1.8 and had this error: Django Version: 1.8 Exception Type: ImportError Exception Value:
cannot import name TOKEN_BLOCK Exception Location: /local/lib/python2.7/site-packages/treemenus/templatetags/tree_menu_tags.py in render, line 63
regards
@ramonrxven I suppose this is a separate issue. Could you create a separate ticket?
hi,
I'm using the github-version of treemenus in my django project and want to run the tests in context of the project. to make it short: it doesn't work. long story:
1st. not having added "treemenus.tests.fake_menu_extension", to the installed_apps I get:
twice. so I actually add "treemenus.tests.fake_menu_extension", to my installed apps, which leads to the 2nd situation:
2nd. I'm using custom templates using the url-tag referring to some urls of my project. the problem is, obviously you are using your own testing-urls and you are modifying the settings at runtime. so my tests don't pass but give me errors like:
solution: please use the setup's test_suite option, as seen in http://github.com/alex/django-taggit/blob/master/setup.py for example.