You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Django debug page is great for development, because it lists routes to aid in debugging. But if you/your application visits an invalid route, I'm suggesting it would be better to return JSON that is parsable by the frontend.
For example, I think this:
... would be preferable to this (current):
The text was updated successfully, but these errors were encountered:
Result: Django debug page (or "Not Found" template if DEBUG = False)
Expected: JSON payload
The Django debug page is great for development, because it lists routes to aid in debugging. But if you/your application visits an invalid route, I'm suggesting it would be better to return JSON that is parsable by the frontend.
For example, I think this:
... would be preferable to this (current):
The text was updated successfully, but these errors were encountered: