Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-31 Thread RANGA BHARATH JINKA
No problem. All the best  On Mon, Aug 31, 2020 at 11:35 PM Patrick Carra wrote: > Thanks bharath for the info I'm going to dig more in to these. > > On Friday, August 28, 2020 at 9:05:04 PM UTC-5 bharath...@gmail.com wrote: > >> Hi, >> >> Please check this package. This may help you. All

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-31 Thread Patrick Carra
Thanks bharath for the info I'm going to dig more in to these. On Friday, August 28, 2020 at 9:05:04 PM UTC-5 bharath...@gmail.com wrote: > Hi, > > Please check this package. This may help you. All the best > > https://django-tables2.readthedocs.io/en/latest/pages/filtering.html >

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-31 Thread Patrick Carra
*Thanks coolguy I changed my urls.py to this and that resolved the error:* from django.urls import include, path from . import views from .views import search app_name= "searchLit" urlpatterns=[ path('customsearch/', views.search, name='search'), path('exportlit/',

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-29 Thread V. J
Věřte si  Vašek. JOdesláno z mého telefonu Huawei Původní zpráva Od: RANGA BHARATH JINKA Datum: so 29. srp 2020 5:00Komu: django-users@googlegroups.comPředmět: Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered querysetHi,     There is a

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread coolguy
You can't have the same name twice. You need to change the name for one of the followings: path('customsearch/', views.search, name='search'), path('customsearch//', views.search, name='search_xxx') Reverse method requires a url identified by name parameter which must be unique. Its

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread coolguy
You can't have the same name twice. You need to change the name for one of the followings: path('customsearch/', views.search, name='search'), path('customsearch//', views.search, name='search_xxx') On Friday, August 28, 2020 at 7:06:09 PM UTC-4 pcar...@gmail.com wrote: > Hello All! I

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, There is a django module. https://pypi.org/project/django-datatables-view/ On Sat, 29 Aug 2020, 8:25 am RANGA BHARATH JINKA, wrote: > Hi, > > Use jQuery datatable for this. It is easy to use and has inbuilt > search and export to CSV, Excel options also. > >

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Use jQuery datatable for this. It is easy to use and has inbuilt search and export to CSV, Excel options also. https://datatables.net/extensions/buttons/examples/initialisation/export.html On Sat, 29 Aug 2020, 7:54 am RANGA BHARATH JINKA, wrote: > Hi, > > Check this. >

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Check this. https://pypi.org/project/django-queryset-csv/ On Sat, 29 Aug 2020, 7:33 am RANGA BHARATH JINKA, wrote: > Hi, > > Please check this package. This may help you. All the best > > https://django-tables2.readthedocs.io/en/latest/pages/filtering.html > > > On Sat,

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Please check this package. This may help you. All the best https://django-tables2.readthedocs.io/en/latest/pages/filtering.html On Sat, 29 Aug 2020, 4:36 am Patrick Carra, wrote: > Hello All! I need some help with a problem I have been struggling with. > One of you generous

NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread Patrick Carra
Hello All! I need some help with a problem I have been struggling with. One of you generous geniuses has the answer I'm sure of it. I am working on integrating an export to csv button(link) on my template to export filtered data from one of my tables. I have previously only been able to