Opened 9 years ago

Closed 8 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: UI/UX:


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@…> 9 years ago.
django.2.diff (1.1 KB) - added by Philippe May <phil.django@…> 9 years ago.

Download all attachments as: .zip

Change History (5)

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

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

  • Needs documentation unset
  • Needs tests set
  • Patch needs improvement unset

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 9 years ago by Philippe May <phil.django@…>

comment:2 Changed 9 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 8 years ago by hakejam

  • Resolution set to worksforme
  • Status changed from new to closed

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