#10228 closed (worksforme)
Inline edit of random model results in "Please correct the errors below." message with no errors listed.
Reported by: | lostlogic | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.0 |
Severity: | Keywords: | inline, random, admin | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I have a model that is specified ordering = [ '?' ].
It has a foreign key to another model with a definite order.
I have specified that I would like to edit the former inline with the latter in my admin.py.
When I try to perform any edits on the resulting admin page (or even just save it unchanged), I get an error message, with an empty errorlist.
Attachments (2)
Change History (4)
by , 16 years ago
comment:1 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I just tested this with Django r9820 plus sqlite3 an couldn't reproduce what you report. I tried creating and modifying a Category with zero and more related Link instances (with real edits and just saving without touching anything).
Can you post more details about the Django revision or version you are using?.
Could this be related to some out of synch between your models as you pasted and the tables existing in your DB?. For instance I needed to add the max_length argument to your model's description fields because manage.py syncdb
wouldn't even run.
Meanwhile, I'm closing this as worksforme.
Relavent admin.py