Re: search bar

2019-06-12 Thread Derek
Here is good place to get started:

https://wsvincent.com/django-search/

You can then expand what has been shown here by adding extra UI-side 
functions such as drop-down fields that will allow a user to refine what is 
being searched for. (Maybe you can even write your own tutorial after you 
have done that.)

There is also a Django app that may be useful:

https://github.com/gregplaysguitar/django-simple-search


On Monday, 10 June 2019 04:49:35 UTC+2, Pradeep Singh wrote:
>
> how to make drop down based search bar in django . where user can select 
> particular field and then retrieve data 
>
> ex- realestate ..
>
> anyone can help me to make such type of search bar 
>

-- 
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/bc76ea41-3127-435a-8d00-4baeaf9af513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


search bar

2019-06-09 Thread Pradeep Singh
how to make drop down based search bar in django . where user can select
particular field and then retrieve data

ex- realestate ..

anyone can help me to make such type of search bar

-- 
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/CANwgZcY%3DYhA5yoisu5Dud92Diofjc-oc0VAQ-4rbBgSgDjwcwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


please help me !django admin search bar add placeholder variable and how to call it in modelAdmin! HELP!

2016-01-17 Thread superzhang16
I want to add placeholder to search bar .First,I override the template 
change_list.html and find the search bar ,I know add attribute 
placeholder ,and I defined a variable placeholder={{'''search_tip'}}
to placeholder, as my app has three searchbar in different modelAdmin, I 
want to change the context of the placeholder by changing the variable..but 
I don't konw how to call the variable 'search_tip''  in the modelAdmin!

-- 
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/90ee2d01-4482-4066-bedd-ff1bfce92e07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django admin search bar add placeholder variable and how to call it in modelAdmin

2016-01-15 Thread superzhang16
I want to add placeholder to search bar .First,I override the template 
change_list.html and find the search bar ,I know add attribute 
placeholder ,and I defined a variable placeholder={{'''search_tip'}}to 
placeholder, as my app has three searchbar in different modelAdmin, I want 
to change the context of the placeholder by changing the variable..but I 
don't konw how to call the variable 'search_tip''  in the modelAdmin!

-- 
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/95fe6ba5-4c6b-458f-9cb4-15aa5258dea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Best way to create an advanced search bar for the admin app.

2012-11-20 Thread Nicolas Emiliani
Hi people.

I have this huge class Foo that has a lot of attributes , not only that but
it has
an m2m relation with a through table that specifies values for each
relation,
and I want to be able to search using those values.
For example :

class Foo
 ...
class Attr
 ...

and the

class Has:
foo
attr
value

So basically Foo Has a given Attr with value X. The idea is having on top
of the search
bar at the list form a box that lets you choose (using check boxes) the
attributes and values
for each checked attribute (using text boxes).

My idea was redefining change_list.html to present that and somehow, I do
not know how yet,
override the search method at the admin site.

Does it sound good?
Has anyone done this?
Is there another approach?

Any comments will be highly appreciated.

Thanks!

-- 
Nicolas Emiliani

Lo unico instantaneo en la vida es el cafe, y es bien feo.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django documentation search bar plugin for Firefox

2006-10-06 Thread Noah

Fair enough.

I actually didn't know those existed. I still like the search box tho


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Django documentation search bar plugin for Firefox

2006-10-06 Thread Rob Hudson

I simply added a Firefox keyword search on the Django search box on the
docs page.  Now I type this into my URL: "dj template tags" and I get
what 'm looking for.

More info are smart keywords:
http://www.mozilla.org/products/firefox/smart-keywords.html

-Rob


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Django documentation search bar plugin for Firefox

2006-10-05 Thread Noah

No problem, please pass the link on to your friends.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Django documentation search bar plugin for Firefox

2006-10-05 Thread Justin

Thanks, that's going to be really useful.

On Oct 5, 10:21 pm, "Noah" <[EMAIL PROTECTED]> wrote:
> I'm always searching the Django docs, so I decided to make a search
> bar plugin for Firefox so that I don't have to go to the Django
> documentation page in order to search the documentation.
>
> You can pick it up at:
> 
> http://noah.itgoesclick.com/django-docs-search/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Django documentation search bar plugin for Firefox

2006-10-05 Thread Noah

I'm always searching the Django docs, so I decided to make a search
bar plugin for Firefox so that I don't have to go to the Django
documentation page in order to search the documentation.

You can pick it up at:

http://noah.itgoesclick.com/django-docs-search/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---