actually meant the _users_ model
http://docs.djangoproject.com/en/dev/topics/auth/
On Thu, Jul 22, 2010 at 4:27 PM, Ryan LeTulle wrote:
> O sorry, I took it that he was just trying to match both the first and last
> name in the admin model. (i.e. 2 fields)
>
>
>
>
>
&
O sorry, I took it that he was just trying to match both the first and last
name in the admin model. (i.e. 2 fields)
On Thu, Jul 22, 2010 at 4:24 PM, Shawn Milochik wrote:
> On Thu, Jul 22, 2010 at 5:20 PM, Ryan LeTulle wrote:
> > Why wouldn't you simply?
> >
>
Why wouldn't you simply?
User.objects.filter(firstname="John", lastname="Doe")
On Thu, Jul 22, 2010 at 4:01 PM, Scott Gould wrote:
> It won't work because there's no database column that corresponds to
> the full name.
>
> A simple but limited alternative would be to split the string on " "
3 matches
Mail list logo