#33893: Admin add model page incorrectly redirects -------------------------------------+------------------------------------- Reporter: Fabian Jarrett | Owner: Fabian | Jarrett Type: Bug | Status: closed Component: contrib.admin | Version: 4.1 Severity: Release blocker | Resolution: fixed Keywords: admin | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Carlton Gibson): > ...What fooled me was that I wasn't expecting content to be cached when running the development server. > If I thought about this, this means I was bitten by this, too (I reported such a wrong issue not long ago!). (Reading as those two clauses are directly related.) Telling the browser **not** to cache in development (presumably by setting an explicit max age of 0) was discussed in #32981 (see also #33148 and #27572). A trip via the DevelopersMailingList to discuss re-opening would be available. (Generally I **want** the browser to cache even in development, because otherwise it's hard to test the ''real behaviour'': developer tools have commands to empty the cache, and toggles for disabling that cache, with or without the web tools console open, so I'm not sure myself there's a need to add it, but it may be worth a discussion.) -- Ticket URL: <https://code.djangoproject.com/ticket/33893#comment:22> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701837b1c58cf-ce78d966-30e9-4519-8075-f456bf6885d8-000000%40eu-central-1.amazonses.com.