1👍
✅
This will match anything that ends with csv or xlsx:
(r'^.*csv|xlsx$', 'myproject.myapp.views.list')
Source:stackexchange.com
1👍
This will match anything that ends with csv or xlsx:
(r'^.*csv|xlsx$', 'myproject.myapp.views.list')