I guess you could! I'm not as familiar with the Transforms API, but it
looks like it would work too.

On Wed, Mar 30, 2016 at 6:17 PM, Shai Berger <[email protected]> wrote:

> On Tuesday 29 March 2016 05:07:14 Stephen J. Butler wrote:
> > Why not do this in the database? Create a view with an extra column that
> is
> > called "field_dttxt" that is to_char(field, 'Mon DD, YYYY'). Then add
> this
> > as a field to Django and let it use the normal Q lookups.
> >
>
> Why would you need to create a view? Can't you use a Transform?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAD4ANxWL8XT6pySuUD3NZmOTdQFk5cHKjoQ9wVKUDpGWcePW%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to