Hi Dirk,
I think it's the other way around, try this

class Content(models.Model):
     title = models.CharField('Title', maxlength=255, core=True)
     body  = models.TextField('Body text')

    class Admin:
      fields = (
         (None, {'fields': ('title','body',)}),
      )
      list_display = ('title')
      list_filter = ['title']   ## optional
      search_fields = ['title']   ## optional
      date_hierarchy = 'title'   ## optional
      pass

class Project(models.Model):
    content  = models.OneToOneField(Content,
edit_inline=models.TABULAR,  num_in_admin=1, core=True,
related_name='project_content')
    subtitle = models.CharField('Subtitle', maxlength=255, core=True)
   def __str__(self):
      return self.Subtitle


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to