Thank you Dominick your second suggestion worked beautifully! I appreciate
your time and expertise!
--
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-user
I think you need to add ** to kwargs.
like: qs = Utilizationtable.objects.filter(pathname=**kwargs)
alternatively, this may also work,
def get_queryset(self):
return self.model.objects.filter(pathname=self.kwargs['pathname'])
Dominick
delponte.d...@gmail.com
On Wed, Dec 11, 2019 at 8
One more additional note this is the url that gets access when the link is
clicked
http://98.8.61.133:8080/viewLit/St.%20Louis%20to%20Mt.%20Vernon/viewutilization
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group a
Hello I am attempting to pass an argument to a Class(ListView) and then
perform a filter using a kwarg that contains the argument passed in the
url. I am having a problem because I cannot access the variable in the url
using kwargs. I am not sure what I'm doing wrong below is the link that
I'
4 matches
Mail list logo