Django

Code

Ticket #2024 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

SQL permission error causes Django admin to enter into infinite 302 redirect loop

Reported by: anonymous Assigned to: adrian
Milestone: Component: Admin interface
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

If you copypaste the statements given by django-admin.py sqlall product into SQL frontend running under different user ID, and the database server is configured in such a way that no select, update, delete and insert permissions are given by default to the user configured for django, attempts to use the admin to modify objects in the table cause an infinite 302 redirect loop.

Attachments

Change History

05/31/06 10:25:24 changed by adrian

(In [3024]) Fixed bug in admin where it would redirect infinitely if invalid lookup parameters were given in the URL. Refs #2024

05/31/06 10:25:53 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

I'm not sure there's anything we can do about your database configuration, but I've fixed the infinite 302 redirect loop.


Add/Change #2024 (SQL permission error causes Django admin to enter into infinite 302 redirect loop)




Change Properties
Action