Re: table relationship help

2006-08-22 Thread Rob Hudson
OK, I removed the admin from my Text table, did an edit_line=True and a core and it works exactly as I pictured. Awesome. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: table relationship help

2006-08-22 Thread SmileyChris
Hi Rob, You have the ForeignKey reference in the correct place. Check out the documentation about edit_inline on the ForeignKey field. You most likely don't actually need to use the class Admin: on your Text class. --~--~-~--~~~---~--~~ You received this message

table relationship help

2006-08-22 Thread Rob Hudson
Hi, I'd appreciate some help on how to set this up in Django. The idea: A page has many text entries (positions on the page). Simple enough. Here's how I was approaching the models (trimmed to remove extra info): class Template(models.Model): name = models.CharField(maxlength=64) cla