I think unique_together is not actually the behavior I mean. I mean
for the two fields to be unique in the sense that if a value is found
in one field then it won't also be found in the other field. My
question stands. Anyone know how to do this?
Is there a way to create multiple tables which share an id field? My
meaning is that ids would be unique over both tables. It is already
possible to indicate that two fields in the same table share this
constraint, using the "unique_together" option.
This would be useful for creating a "transla
Yeah, that's the idea. So the Entries table would look like
id, blog_id, post_number, post_text,
1, 1, 1, Joe's first entry
2, 1, 2, Joe's second entry
3, 2, 1, Jane's first entry
4, 2, 2, Jane's second entry
-Michael
Gotcha! Sorry for the confusion!
My opinion would be to go with your
Hi,
> Are you trying to do this:
>
> Weblogs
> ---
> 1: Joe's blog
> 2: Jane's blog
> 3: John's blog
>
> Entries
> ---
> 1: weblog->1: Joe's first entry
> 2: weblog->1: Joe's second entry
> 1: weblog->2: Jane's first entry
> 2: weblog->2: Jane's second entry
Yeah, that's the idea. So t
>> Taking just the weblog example, what I mean is for each weblog to have
>> its own set of numeric IDs for posts independent of any other weblog's
>> data that is in the same installation of the app even though all the
>> post data is in the same table. Everybody's data should be in the same
>> s
> Oh, the weblog app and the bug tracking app are two totally separate
> examples to try to illustrate the idea I'm after. I'm not intending to
> mix multiple types of data within a single table.
Right.. I understand that they are two different examples. :)
> Taking just the weblog example, wha
Oh, the weblog app and the bug tracking app are two totally separate
examples to try to illustrate the idea I'm after. I'm not intending to
mix multiple types of data within a single table.
Taking just the weblog example, what I mean is for each weblog to have
its own set of numeric IDs for posts
> I'd like to have an auto incrementing ID field that is unique within a
> particular subset of the records identified by another field. e.g. if
> you had a weblog application that supported multiple weblogs you could
> have posts ID 1, 2 and 3 for weblog ID 1 and posts ID 1,2, and 3 for
> weblog
Hi all,
First proper post to the list. I've been working with Django since
shortly after the code was announced, have worked through the
tutorials and it's gone pretty smoothly so far. So thanks for making
an interesting project available.
Now onto the question :-)
(This isn't exactly the scena
This is purely to satisfy my own curiosity, but does anyone have a
deployed, public Django site up and running yet (aside from the sites
built by the team in Lawrence)?
It would be cool to hear about intranet apps as well, but I'm really
interested in seeing some examples of Django runnin
On Aug 7, 2005, at 11:55 PM, Milton Waddams wrote:
any chance of an rss feed?
I added one this morning: http://www.djangoproject.com/rss/community/
Jacob
On Tue, 2005-08-02 at 18:28 +, Django wrote:
> I made it work with the users going in django.models.auth. But it is
> not a very good solution as it becomes project-wide and I cannot have
> another similar application.
>
> I think we need to have a way to tell the auth/sessions framework the
Thanks
On 8/8/05, Brantley <[EMAIL PROTECTED]> wrote:
> Here's my conf, if you'd like, and everything's pointing to the correct
> location, I know that it's not the tutorial suggested directory layout:
Check out the "Multiple Django installations on the same Apache"
section on this page:
http://www.djan
Yessir, running both with Apache and mod_python.
Here's my conf, if you'd like, and everything's pointing to the correct
location, I know that it's not the tutorial suggested directory layout:
ServerAlias magic.deadwisdom.com
ServerSignature On
SetHandler python-program
PythonHandler dja
On 8/8/05, Brantley <[EMAIL PROTECTED]> wrote:
> I keep getting a TemplateSyntaxError randomly. When I'm working with
> the admin side of my site, I'll often get this error
> "TemplateSyntaxError: Template 'base_site' cannot be extended, because
> it doesn't exist". It's entirely random, so I ca
I keep getting a TemplateSyntaxError randomly. When I'm working with
the admin side of my site, I'll often get this error
"TemplateSyntaxError: Template 'base_site' cannot be extended, because
it doesn't exist". It's entirely random, so I can't replicate it. Any
ideas?
Full Traceback:
Traceba
Hi all,
We're hiring a Web developer at World Online, which is the company
Jacob and I work for, at which we developed Django. Obviously, we use
Django very heavily. This is your chance to get paid to work with
Django full-time.
I've posted a job ad to connection.oreilly.com but will repost it h
18 matches
Mail list logo