diff options
-rw-r--r-- | gstudio/admin/objecttype.py | 2 | ||||
-rw-r--r-- | gstudio/models.py | 2 | ||||
-rw-r--r-- | objectapp/admin/gbobject.py | 2 | ||||
-rw-r--r-- | objectapp/models.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gstudio/admin/objecttype.py b/gstudio/admin/objecttype.py index 8d0eb4ec..aa087541 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 43af11d0..690fccc9 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') diff --git a/objectapp/admin/gbobject.py b/objectapp/admin/gbobject.py index 78286626..d828e000 100644 --- a/objectapp/admin/gbobject.py +++ b/objectapp/admin/gbobject.py @@ -59,7 +59,7 @@ class GbobjectAdmin(reversion.VersionAdmin): """Admin for Gbobject model""" form = GbobjectAdminForm date_hierarchy = 'creation_date' - fieldsets = ((_('Content'), {'fields': ('title', 'altnames', 'objecttypes','content','content_org', + fieldsets = ((_('Content'), {'fields': ('title', 'altnames', 'objecttypes','content', 'image', 'status')}), (_('Dependency'), {'fields': ('prior_nodes', 'posterior_nodes',), 'classes': ('collapse', 'collapse-closed')}), diff --git a/objectapp/models.py b/objectapp/models.py index 6849cfa7..6c189f88 100644 --- a/objectapp/models.py +++ b/objectapp/models.py @@ -161,7 +161,7 @@ class Gbobject(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) image = models.ImageField(_('image'), upload_to=UPLOAD_TO, blank=True, help_text=_('used for illustration')) |