On Wed, 2008-07-16 at 20:44 -0400, Steve Holden wrote:
> Malcolm Tredinnick wrote:
> >
> > On Wed, 2008-07-16 at 10:12 -0700, serbaut wrote:
> >> Consider the following equivalent queries based on the weblog model
> >> from the documentation:
> >>
> >> Blog.objects.filter(name="myblog").exclude(
Malcolm Tredinnick wrote:
>
> On Wed, 2008-07-16 at 10:12 -0700, serbaut wrote:
>> Consider the following equivalent queries based on the weblog model
>> from the documentation:
>>
>> Blog.objects.filter(name="myblog").exclude(entry__body_text__contains="blah
>> blah")
>> Blog.objects.filter(Q(na
On Thu, Jul 17, 2008 at 1:51 AM, Nathan Hoover <[EMAIL PROTECTED]>
wrote:
> I'll second that. I work for a large (unfortunately non-django) commercial
> web property and we have the same basic set of states - anonymous, known,
> and authenticated. I think it's pretty common.
>
Its not that hard t
I don't know much about this, but I suspect a huge issue will be the
non-relational nature of CouchDB. All of the existing backends execute
SQL statements against their databases.
--Ned.
http://nedbatchelder.com
Malcolm Tredinnick wrote:
> On Wed, 2008-07-16 at 17:29 -0400, Michael Miller wrot
On Wed, 2008-07-16 at 17:29 -0400, Michael Miller wrote:
> Hi,
>
> I'm interested in building a couchDB backend for django. Is there
> any documentation on how to start adding a new backend?
The code is the documentation here (it's Python, so it's just executable
pseudo-code, after all). :-)
Hi,
I'm interested in building a couchDB backend for django. Is there
any documentation on how to start adding a new backend?
Thanks, Mike
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers"
On Jul 15, 2008, at 10:50 PM, Brian Rosner wrote:
> The documentation is pretty much done. I would like for people to give
> it some attention and shake out any problems. Not a big deal and can
> be dealt with after a merge. The tutorial needs a bit of
> newforms-admin love. I haven't touched it
On Wed, 2008-07-16 at 13:15 -0700, serbaut wrote:
> Thank you for your replies.
>
> > The problem is that the filter you specified was not returning the
> > correct answer in 0.96. You're asking that Django returns an incorrect
> > result to make your code faster. It's possible to give incorrect
Thank you for your replies.
> The problem is that the filter you specified was not returning the
> correct answer in 0.96. You're asking that Django returns an incorrect
> result to make your code faster. It's possible to give incorrect results
> very fast, but it's not something we want to suppo
Hi all,
On 9 sep 2007, 14:36, "Honza Král" <[EMAIL PROTECTED]> wrote an
example newforms-admin snippet that would programmatically add an
inline:
> class CommentOptions( models.Model ):
> enabled = models.Fireld()
> moderators = models.Field()
> ...
>
> for model, model_options in admin.si
> Well, that depends. Would you like the problem to be fixed or not? :-)
>
> Malcolm
I can imagine that it will be complex to fix (lot's of field types). A
note in the docs would be nice since an integer primary key is a
requirement for generic relations. I've opened a ticket that adds this
requi
Hi everyone!
I'm also posting this to django-users and I apologize for those of you
who get this twice.
Next week is OSCON in Portland, Oregon. For anybody attending OSCON,
or anybody who's going to be in the greater Portland metropolitan
area, here's a lineup of Django-related events:
1. Tue
On Wed, 2008-07-16 at 10:46 -0700, serbaut wrote:
> There is no m2m relation involved in the example.
Yes, you're right. It's not many-to-many, but it is multi-valued. It's a
reverse many-to-one, which means one blog maps to many entries. The
logic for the query construction still stands.
[...]
There is no m2m relation involved in the example. The model is (from
http://www.djangoproject.com/documentation/db-api/):
class Blog(models.Model):
name = models.CharField(max_length=100)
tagline = models.TextField()
class Entry(models.Model):
blog = models.ForeignKey(Blog)
headl
On Wed, 2008-07-16 at 10:12 -0700, serbaut wrote:
> Consider the following equivalent queries based on the weblog model
> from the documentation:
>
> Blog.objects.filter(name="myblog").exclude(entry__body_text__contains="blah
> blah")
> Blog.objects.filter(Q(name="myblog") &
> QNot(Q(entry__body
Consider the following equivalent queries based on the weblog model
from the documentation:
Blog.objects.filter(name="myblog").exclude(entry__body_text__contains="blah
blah")
Blog.objects.filter(Q(name="myblog") &
QNot(Q(entry__body_text__contains="blah blah"))) # 0.96
Blog.objects.filter(Q(name=
On Wed, 2008-07-16 at 01:13 -0700, Rudolph wrote:
> The documentation for Generic Relations uses a PositiveIntegerField
> for the "object-id". However some models might have a non-integer
> field as a primary key, so it might be good to add a note to the
> documentation that a different field typ
On Wednesday 16 July 2008 09:13:21 Rudolph wrote:
> The documentation for Generic Relations uses a PositiveIntegerField
> for the "object-id". However some models might have a non-integer
> field as a primary key, so it might be good to add a note to the
> documentation that a different field type
That's pretty cool! I've attempted this in the past, but always ended
up with test case failures, and didn't see any speedups, so I
abandoned it. I'll try this out when I have time.
Could someone repackage it as a proper patch attached to ticket #7732?
I think I'd rather see it folded into the
What version are you running, and what's the exact line you're using
for get_or_create?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers
HAI..
Guys this web site s very useful to
you...
How This site
helps..
how to earn money form
online..
In this site, you wil earn more than 1/- Rs per month
its true ... just login this site and << EARN MONEY
>>
www.freeonlinedollers.blogspot.com
www.free
HAI..
Guys this web site s very useful to
you...
How This site
helps..
how to earn money form
online..
In this site, you wil earn more than 1/- Rs per month
its true ... just login this site and << EARN MONEY
>>
www.freeonlinedollers.blogspot.com
www.free
I'll second that. I work for a large (unfortunately non-django) commercial
web property and we have the same basic set of states - anonymous, known,
and authenticated. I think it's pretty common.
Regards,
Nathan
On Wed, Jul 16, 2008 at 6:48 AM, Joost Cassee <[EMAIL PROTECTED]> wrote:
>
> On 14 j
On 14 jul 2006, 23:53, "SmileyChris" <[EMAIL PROTECTED]> wrote:
> Hrm...
> Will there ever be a difference between "user.is_anonymous" and "not
> user.is_authenticated"?
> If not (and I can't think of a reason), do we really need to keep
> is_anonymous?
I would like to present a case for such a d
Glamour models & Fasion designing
New look
watch my profile
http://www.geocities.com/cathrina39
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to djang
Glamour models & Fasion designing
New look
watch my profile
http://www.geocities.com/cathrina39
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to djang
Bleach 318
Bleach 318(Bleach 330), Air Gear 209,Naruto 409, One Piece 507,Hot
manga Download
The hottest mangas and the latest chapters
Manga news, Most popular mangas, Latest mangas, Latest chapters
http://english1.isoshu.com
http://emanga1.isoshu.com
--~--~-~--~~~-
The documentation for Generic Relations uses a PositiveIntegerField
for the "object-id". However some models might have a non-integer
field as a primary key, so it might be good to add a note to the
documentation that a different field type is needed if one of your
models uses a non-integer primar
28 matches
Mail list logo