Opened 18 years ago
Closed 17 years ago
#3873 closed (worksforme)
Admin interface showing empty values
Reported by: | 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)
Change History (5)
by , 18 years ago
Attachment: | django.diff added |
---|
comment:1 by , 18 years ago
Needs tests: | set |
---|
by , 18 years ago
Attachment: | django.2.diff added |
---|
comment:2 by , 18 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 , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → 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.
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/)