> And this is why the Django community rocks, two examples and a full
> explaination with a link in less than 10 minutes, GW guys
Absolutely! Thank you all so much! In just 15 minutes I had great
answers from everyone.
--~--~-~--~~~---~--~~
You received this
You may also be interested in this ticket:
http://code.djangoproject.com/ticket/6095
(which will hopefully be hitting relatively soon).
On Jun 26, 11:27 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> You'd almost think they were handing out prizes for being quickest on
> the draw :)
>
> On
You'd almost think they were handing out prizes for being quickest on
the draw :)
On Jun 27, 2008, at 12:18 PM, joshuajonah wrote:
>
> And this is why the Django community rocks, two examples and a full
> explaination with a link in less than 10 minutes, GW guys
>
> On Jun 26, 11:55 pm,
And this is why the Django community rocks, two examples and a full
explaination with a link in less than 10 minutes, GW guys
On Jun 26, 11:55 pm, bhunter <[EMAIL PROTECTED]> wrote:
> Hi, sorry for what is probably a trivial question, but I'm new to
> Django and a little fuzzy on databases in
Hey there,
A M2M field creates an intermediary join table which doesn't show up
in the admin, or other places. It's basically just a pairing of
Journalist ids with Article ids, and the M2M field is a convenience
that allows you to ignore this table. If you want to add additional
Hi,
To do that I would use an auxilliary model:
class Journalist(models.Model):
pass
class Article(models.Model):
pass
class JournalistArticleRelationship(models.Model):
journalist = models.ForeignKey(Journalist)
article = models.ForeignKey(Article)
status = models.Charfield()
Well you'd want a relational table of author status', some thing like
this:
class Journalist(models.Model):
name = models.Charfield()
class Article(models.Model):
articles = models.Charfield
class State(models.Model):
state = models.CharField()
class Article_relationship(models.Model):
Hi, sorry for what is probably a trivial question, but I'm new to
Django and a little fuzzy on databases in general, so I hope someone
here can help. Just to keep the motif, I'll frame my question in
terms of journalism.
I'd like to set up a database with the following relationships: a
model
8 matches
Mail list logo