Re: Relationships in Models across apps in the same project

2007-06-04 Thread Branton Davis
Hey, I've been doing the Django thing for a few months and only recently have felt less noobish. Of course, I was learning Python as I went along too. Anyhow, I'm glad it worked. Also check out http://www.djangosnippets.org/snippets/83/ if you get into django-tagging. Branton --~--~-

Re: Relationships in Models across apps in the same project

2007-06-04 Thread marknca
Branton, Just to re-iterate I did say I was a Django noob! You answer worked like a charm. I really appreciate it! I'll check out the django-tagging app shortly. Cheers, Mark PS > I'll have to submit an update request to the documentation to clarify the wording. --~--~-~--~~-

Re: Relationships in Models across apps in the same project

2007-06-04 Thread sansmojo
Hey, Mark. I hope I'm not misunderstanding, but importing models from one app to another is no problem. For example, assume Django project is called 'project' and you have two apps named 'people' and another named 'tagging'. In your people/models.py: from django.db import models from project.t

Relationships in Models across apps in the same project

2007-06-04 Thread marknca
I'll start off my fully admitting that I'm a Django noob and there's probably (hopefully!) an easy answer to this one. Problem: I have several apps in the same project. Each of these apps offers tagging of various models. Ideally I would like one Tag model in an app (e.g., a tagging app) that r