Hi facundo. this is an issue in python that is pretty confusing for newbies.
What's happening here is that viajes is making a forward reference to viaje, meaning that when viajes is run viaje has not been defined yet, so it throws an exception(methods get parsed top to bottom in modules). The fix for this is to put the 'viajes' method after 'viaje' on your file. cheers arthur --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

