Opened 12 years ago

Closed 11 years ago

#3873 closed (worksforme)

Admin interface showing empty values

Reported by: phil.django@… Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: models
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no


Developping a component-based application, i find that djando is a great framework. Thank you all.

The "difficult" part in this application is that models are imported from a directory (in including a file named so that django does the import). Django accepts this setup quite well, but i recently experienced some problems with the admin interface: it showed empty values for all fields, all objects.

After writing a fix, the "save" button returned some errors, so i wrote another fix.
Don't know what they're worth, but my admin interface is functional here again.

Attachments (2)

django.diff (2.0 KB) - added by Philippe May <phil.django@…> 12 years ago.
django.2.diff (1.1 KB) - added by Philippe May <phil.django@…> 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Philippe May <phil.django@…>

Attachment: django.diff added

comment:1 Changed 12 years ago by Philippe May <phil.django@…>

Needs tests: set

Maybe i should also mention that a str function is defined in the models (very useful for debugging imho).

Eventually the source code can be checked out at svn://
(website at and demo at

Changed 12 years ago by Philippe May <phil.django@…>

Attachment: django.2.diff added

comment:2 Changed 12 years ago by Philippe May <phil.django@…>

Mmm, for some unknown reason (most probably i was tired yesterday) i submitted a stupidly broken patch.

Please consider this last one only, sorry for the confusion.

comment:3 Changed 11 years ago by hakejam

Resolution: worksforme
Status: newclosed

More detail on how the bug can be replicated is needed. (What models were used? What admin options were set?) The patch supplied will not work with the current source. The problems described sound like it was an error of the user.

Note: See TracTickets for help on using tickets.
Back to Top