8👍
The following is probably the best way of doing it – ie, don’t specify a delimited list of URLs, rather, use the fact you can specify the same param name multiple times, eg:
http://example.com/?url=http://google.co.uk&url=http://yahoo.com
The URL list be then be used and retrieved via request.GET.getlist('url')
- [Django]-Django TypeError: get() got multiple values for keyword argument 'invoice_id'
- [Django]-Altering one query parameter in a url (Django)
- [Django]-Django: guidelines for speeding up template rendering performance
Source:stackexchange.com