39👍
✅
You are calling format_suffix_patterns
twice, so Django has no idea how to parse the URL because there are two format
groups.
You shouldn’t need the first call, as the second call takes care of it for you (and allows for TokenAuthentication
to still have the suffixes).
- Django+Nginx+uWSGI = 504 Gateway Time-out
- What does "Directory indexes are not allowed here." mean in a Django error?
- Django days-of-week representation in model
- Django + Pydev/Eclipse + Google App Engine – possible?
- Getting the request origin in a Django request
Source:stackexchange.com