Hi all,
I have a (strange) problem.
When trying to edit the VideoconferenceForm (see code later) Django returns 
an error "Cannot resolve keyword 'videoconference' into field. Choices 
are:… <fields related to the User object>"

It happens only when running the code on Apache (on Django dev server it 
works without problems, I can't even reproduce the bug) with DEBUG=False, 
and only when editing a record through the form (not when creating a new 
one).

Class description and hierarchy can be found here
models.py https://gist.github.com/karuso/9766764

while the edit function of the view can be found here (the missing part 
simply show the empty form to create a new record and as I said it's 
working)

views.py https://gist.github.com/karuso/9766806

I've tried to use related_name on both managers and viewers field but with 
no result.

If I remove the viewers field form the Videoconference Class it works (as a 
matter of fact there's no difference between this class and 
Room,PersonaComputer and Projector which are working correctly)

Thanks in advance,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c936a932-4b2c-4c7f-9228-8939ceb3b6e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to