If you look at this code:
class Profileform(forms.ModelForm):
class Meta:
model = User
fields = ('first_name','last_name','email',)
class Employeeform(forms.ModelForm):
"""self explanatory"""
class Meta(Profileform):
model = P
Why would you want to query the table directly? I believe the only way you
could access data from a ManyToManyField is through the Model in which it is
related.
On Fri, Feb 18, 2011 at 11:35 AM, Bobby Roberts wrote:
> I have a Manytomanyfield in a model called "registrants" on a
> fieldname cal
2 matches
Mail list logo