Re: URL pattern for URL with query string

2020-01-13 Thread S D
Thanks Jason. Kind regards, - SD On Mon, Jan 13, 2020, 16:28 Jason wrote: > The url resolver does not include GET query params in a URL, you need to > add them manually after the string. > > for example > > url = > f"{reverse('weather')}/?current_location={some_value}&booking_location={an

Re: URL pattern for URL with query string

2020-01-13 Thread Jason
The url resolver does not include GET query params in a URL, you need to add them manually after the string. for example url = f"{reverse('weather')}/?current_location={some_value}&booking_location={another_value}" -- You received this message because you are subscribed to the Google Grou

URL pattern for URL with query string

2020-01-13 Thread S D
Hey guys. SOS please. How do I write a URL pattern for a URL like this? weather/?current_location=-33.927407,18.415747&booking_location=-32.927407,19.415747 When I do reverse(‘weather’, kwargs={‘current_location’: some_value, 'booking_ location’: another_value}) I am getting a NoReverseMatch exce