Opened 17 years ago

Closed 17 years ago

#3873 closed (worksforme)

Admin interface showing empty values

Reported by: phil.django@… Owned by: nobody
Component: contrib.admin Version: dev
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

Description

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

Download all attachments as: .zip

Change History (5)

by Philippe May <phil.django@…>, 17 years ago

Attachment: django.diff added

comment:1 by Philippe May <phil.django@…>, 17 years ago

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://svn.itsmart.fr/gegis/trunk
(website at http://trac.itsmart.fr/trac/gegis/ and demo at http://gegis.itsmart.fr:81/)

by Philippe May <phil.django@…>, 17 years ago

Attachment: django.2.diff added

comment:2 by Philippe May <phil.django@…>, 17 years ago

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 by hakejam, 17 years ago

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