diff options
author | supriya <supriya@dragbox.(none)> | 2012-07-03 16:57:53 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-07-03 16:57:53 +0530 |
commit | ab428bbe537325f537898f1e2240905d492367e1 (patch) | |
tree | 5278e6bcad99cd4a3ed05968112e171e4e2937df /gstudio | |
parent | 6ed2dedb9b8e06683a4d9ea4765043559abab048 (diff) | |
download | gnowsys-ab428bbe537325f537898f1e2240905d492367e1.tar.gz |
admin interface showing one content field
Diffstat (limited to 'gstudio')
-rw-r--r-- | gstudio/admin/objecttype.py | 2 | ||||
-rw-r--r-- | gstudio/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gstudio/admin/objecttype.py b/gstudio/admin/objecttype.py index 8d0eb4e..aa08754 100644 --- a/gstudio/admin/objecttype.py +++ b/gstudio/admin/objecttype.py @@ -35,7 +35,7 @@ class ObjecttypeAdmin(parent_class): form = ObjecttypeAdminForm date_hierarchy = 'creation_date' fieldsets = ((_('Neighbourhood'), {'fields': ('title','altnames','plural','parent','slug', - 'metatypes','tags','image', 'status','content','content_org')}), + 'metatypes','tags','image', 'status','content')}), (_('Dependency'), {'fields': ('prior_nodes', 'posterior_nodes',), 'classes': ('collapse', 'collapse-closed')}), (_('Options'), {'fields': ('featured', 'excerpt', 'template', diff --git a/gstudio/models.py b/gstudio/models.py index 43af11d..690fccc 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -755,7 +755,7 @@ class Nodetype(Node): (PUBLISHED, _('published'))) content = models.TextField(_('content'), null=True, blank=True) - content_org = models.TextField(_('content'), null=True, blank=True) + # content_org = models.TextField(_('content'), null=True, blank=True) parent = models.ForeignKey('self', null=True, blank=True, verbose_name=_('is a kind of'), related_name='children') |