| Issue 67: | Can't get node count | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Use the following model in a new app: http://pastebin.com/mc1a0fb1 2. python manage.py shell 3. Category.tree.add_related_count(Category.tree.root_nodes(), Item, 'category', 'q_c', cumulative=True) 4. Get error: http://pastebin.com/m69ed1937 I'm using SVN version, django 1.1, Ubuntu 9.10 I'm not sure if this is a bug. I'm still learning to use mptt.
Feb 5, 2010
#1
ezequiel...@gmail.com
Sep 3, 2010
Could you please test with the latest stable version?
Sep 10, 2010
Tested using latest version of django-mptt with: * django 1.1 * SQLite * Ubuntu 8.04 Unable to reproduce, assumed fixed. Comment if you're still getting this error and we'll reopen.
Status:
Fixed
Sep 15, 2010
I'm getting a similar error with postgresql. Django 1.2 PostgreSQL CentOS
Sep 16, 2010
Hi agabel What version of django-mptt and PostgreSQL are you using?
Status:
Chatting
Oct 7, 2010
Django 1.2 PostgreSQL 8.1 It looks like we are both trying to get a count from a ManyToMany. The sql that is created cannot handle this type of relation.
Dec 18, 2010
Migrated to https://github.com/django-mptt/django-mptt/issues/#issue/90 |