3 ms·
I tried doing this before. The problem was that passing additional query parameters to Django admin caused it to crash. I traced the error down to conflicting l
by dhxt 7y ago
I tried doing this before. The problem was that passing additional query parameters to Django admin caused it to crash. I traced the error down to conflicting lookup query parameters for some views (https://github.com/django/django/blob/9e38ed0536c7dc598a6c2c1bb774d0a8db3cdddc/django/contrib/admin/options.py#L1666 https://github.com/django/django/blob/9e38ed0536c7dc598a6c2c...), but didn't dig deeper than that. Passing through the unmodified request to Django resolved the problem.
You're right however, a simplified version probably works for 99% web servers (as long as the query parameters don't conflict with the ones used by your app), but unfortunately it didn't work for my use case.