User != UserEmail
User does not have subject, thus it will raise AttributeError: 'User'
object has no attribute 'subject'
Secondly, I do not want to create 1+N queries (where N is number of
users), with creating a query per user this would be simple but very
inefficient.
On Jan 16, 12:16 pm, Praveen Krishna R <
rpraveenkris...@gmail.com>
wrote:
> *First of all did you try accessing the email subject with a dotted
> notation?*
> try
> u = User.objects.all()
> and
> u[0].subject
>
> >
django-users...@googlegroups.com<django-users%2Bunsubscribe@google
groups.com>
> > .
> *Praveen Krishna R*