Hi,

I am a little bit stuck. I have been commanded to do an exersice which
states in one of the steps to associate a method with an instance (as
I understood), here a closer explanation:

I have a model, wich have different methods, each of them execute some
tests given that model's instance fields.

Then, I have another model which I should be able to associate with
one of the tests, and to return some data according to what the
associated method (test) return when called.

I still do not know If i misunderstood the instructions or something
like that, what I was thinking was just a foreignKey on the second
model to associate it with the first one, and then, how could I make
sure that model is associated with just one of the methods over the
other model??

Or there is another way to do this, associate a modelfield with a
given method??

Thanks a lot in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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