git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added __unicode__ to loaded fk data. Added doubleclick loading of model instances...
[philo.git]
/
contrib
/
gilbert
/
plugins
/
models.py
diff --git
a/contrib/gilbert/plugins/models.py
b/contrib/gilbert/plugins/models.py
index
ae97ee7
..
e3d559a
100644
(file)
--- a/
contrib/gilbert/plugins/models.py
+++ b/
contrib/gilbert/plugins/models.py
@@
-65,7
+65,7
@@
class ModelAdmin(Plugin):
def data_serialize_model_instance(cls, obj):
return {
'app_label': obj._meta.app_label,
- 'name': obj._meta.
object
_name,
+ 'name': obj._meta.
module
_name,
'pk': obj.pk,
'__unicode__': unicode(obj),
}