On Jan 14, 2:49 am, Eric Florenzano <
flo...@gmail.com> wrote:
> Thanks for the error report guys. I'll look into what has changed and
> make the necessary adjustments to django-things.
>
> For the record, I've been working on a parallel branch of the django-
> things sourcecode which should clean it up and make it clearer, and
> this bug is the last straw that will make me finish up my work on
> that.
>
> Thanks,
> Eric Florenzano
In case it's of any use, this small patch was enough to get me running
again, with Pinax trunk and Django trunk:
===================================================================
--- apps/external_apps/things/fields.py (revision 46)
+++ apps/external_apps/things/fields.py (working copy)
@@ -123,8 +123,8 @@
children = related_manager.all().query.where.children
related_column_name = None
for child in children:
- if child[0] == related_table:
- related_column_name = child[1]
+ if child[0][0] == related_table:
+ related_column_name = child[0][1]
break
if related_column_name is None:
raise ValueError("Could not determine relationship on
related name %s" % self.field_name)
>
> On Jan 13, 4:44 pm, Mitch Chapman <
mchapman87...@gmail.com> wrote:
>
> > On Jan 13, 3:38 pm, Dave <
dave.mer...@gmail.com> wrote:
>
> > > I have everything else working great. But it seems that both Projects
> > > and Tribes can not find topics.
>
> > > The error is:
>
> > > Could not determine relationship on related name topics
>
> > > Pinax 0.7
> > > Django Trunk 9733
>
> > Just wanted to note that the issue was recorded yesterday. One
> > workaround is to use Django 1.0.2:
http://code.google.com/p/django-hotclub/issues/detail?id=146
>
> > > Any suggestions:
>
> > > See the errors here:
http://pinax.purebluedesign.com/tribes/andhere:http://pinax.pureblued...
>
> > > Thanks,
> > > Dave