Hi,

I have sophisticated model:

class UserEditions(SophisticatedModel):
    user = models.ForeignKey(User)
    editions = models.ManyToManyField(Edition)

and simple function:

def simple_function(user):
  return UserEdition.objects.get(user = user).editions.all()

Everything works fine when I call this function under development
server.
After switching to Apache+mod_python I'm getting strange error:
"Cannot resolve keyword 'usereditions' into field"

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to