Also, by the sounds of your question, you haven't worked through the 
tutorial.
Please take the time to do so. It might take you around an hour or whatever 
but gives an extremely good overview of everything you need to build stuff 
in Django.
I'm sure your dying to work on your big idea, but it pays to take the time 
to get the basics down. Tutorial here: 
https://docs.djangoproject.com/en/2.0/intro/#

On Tuesday, January 23, 2018 at 11:34:48 AM UTC, Carl Brubaker wrote:
>
> I am trying to make a search field in a template and connect it back to my 
> database so I can "find" stuff.
>
> I found this in the django docs:
>
> >>> Author.objects.filter(name__unaccent__icontains='Helen')[<Author: Helen 
> >>> Mirren>, <Author: Helena Bonham Carter>, <Author: Hélène Joy>]
>
> which is helpful, but I'm having trouble connecting to my template:
>
> <input type="search" />
>
> I'm not sure what to call my variable or how to integrate it into models. All 
> of the existing stuff I can find is django 1.
>
> Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/15892139-2182-446e-8cef-75b2782568f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to