to download the latest nice songs

2008-07-07 Thread rose
to download the latest nice songs from kuselan and dhaam dhoom more details just click it ** http://lakshmipriyasan.blogspot.com/ ** --~--~-~--~~~---~--~~ You received th

watch actress sexy photo from movie clips http://priyamaniforyou.blogspot.com/

2008-07-07 Thread hot sharmila
watch actress sexy photo from movie clips http://priyamaniforyou.blogspot.com/ --~--~-~--~~~---~--~~ 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@goog

django.contrib.sessions problems

2008-07-07 Thread mrts
I'd like to get some feedback for the following major tickets regarding sessions, all of which are in scope for 1.0. 1) Session key collisions: http://code.djangoproject.com/ticket/1180 Due to the birthday paradox, sqrt(n) is roughly the number you need to have a 50% collision chance when pickin

Re: django.contrib.sessions problems

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 06:48 -0700, mrts wrote: > I'd like to get some feedback for the following major tickets > regarding sessions, all of which are in scope for 1.0. > > 1) Session key collisions: http://code.djangoproject.com/ticket/1180 > > Due to the birthday paradox, sqrt(n) is roughly th

Testing django-admin and manage.py

2008-07-07 Thread Russell Keith-Magee
Hi all, I've been looking at #6017 and #5943 of late. These two tickets have been around for a while; one of the biggest reasons that they have taken so long to address is that they cover an area of Django where the testing isn't automated - the behaviour of django-admin.py and manage.py. As a re

Re: django.contrib.sessions problems

2008-07-07 Thread Jacob Kaplan-Moss
On Mon, Jul 7, 2008 at 8:48 AM, mrts <[EMAIL PROTECTED]> wrote: > I'd like to get some feedback for the following major tickets > regarding sessions, all of which are in scope for 1.0. I don't really know a nice way of saying this, so I'll trust you to understand that I don't mean to be a dick.

Re: Testing django-admin and manage.py

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 22:00 +0800, Russell Keith-Magee wrote: [...] > I would also appreciate it if anyone could confirm that the same test > approach will work for Windows. I have almost no access to Windows > boxes for development purposes, so I'm completely in the dark here. > However, as far

Re: Testing django-admin and manage.py

2008-07-07 Thread Jacob Kaplan-Moss
On Mon, Jul 7, 2008 at 9:00 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > I've just uploaded a patch to #6017 that will hopefully address this > issue. The patch 'django-admin-tests.diff' contains a prototype test > framework for django-admin and manage.py scripts. It works by spawning > a

Re: Testing django-admin and manage.py

2008-07-07 Thread Simon Willison
On Jul 7, 3:00 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > I've just uploaded a patch to #6017 that will hopefully address this > issue. The patch 'django-admin-tests.diff' contains a prototype test > framework for django-admin and manage.py scripts. It works by spawning > a child proce

Re: django.contrib.sessions problems

2008-07-07 Thread mrts
On Jul 7, 5:00 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On Mon, Jul 7, 2008 at 8:48 AM, mrts <[EMAIL PROTECTED]> wrote: > > I'd like to get some feedback for the following major tickets > > regarding sessions, all of which are in scope for 1.0. > > I don't really know a nice way of s

Re: Testing django-admin and manage.py

2008-07-07 Thread Karen Tracey
On Mon, Jul 7, 2008 at 10:00 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've been looking at #6017 and #5943 of late. These two tickets have > been around for a while; one of the biggest reasons that they have > taken so long to address is that they cover an area of Django

Re: django.contrib.sessions problems

2008-07-07 Thread mrts
> > Due to the birthday paradox, sqrt(n) is roughly the number you need to > > have a 50% collision chance when picking items at random from an > > inexhaustible set of n items. (0, sys.maxint - 1) is currently the > > random range. On 32-bit platforms the collision bound is thus quite > > low as

Re: django.contrib.sessions problems

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 08:28 -0700, mrts wrote: > > > Due to the birthday paradox, sqrt(n) is roughly the number you need to > > > have a 50% collision chance when picking items at random from an > > > inexhaustible set of n items. (0, sys.maxint - 1) is currently the > > > random range. On 32-bit

Re: django.contrib.sessions problems

2008-07-07 Thread mrts
On Jul 7, 6:32 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > That comment has no bearing. > > (1) We pick a random session key. > (2) We save it to the database, where it should be unique, otherwise an > error is raised. > (3) We use that session key to pass back to the user. > > At this

Fwd: GSoC Weekly Report (#6): Django on Jython

2008-07-07 Thread Leo Soto M.
-- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Mon, Jul 7, 2008 at 1:08 PM Subject: GSoC Weekly Report (#6): Django on Jython To: Jython Developers <[EMAIL PROTECTED]> Hi again! Here is my report of what was done on the past week: - Benchmarked and then di

Re: django.contrib.sessions problems

2008-07-07 Thread digitalxero
As one of the people experiencing issues with the session collisions I will attempt to explain how it manifests and my setup. My server is a shared host, running Apache, python2.5 and Django is configured though fast-cgi (My host wont let me use mod-python). The way it seems to work is a new thre

Re: django.contrib.sessions problems

2008-07-07 Thread digitalxero
On Jul 7, 11:09 am, digitalxero <[EMAIL PROTECTED]> wrote: > *Adding this info to the ticket as well Well Trac decided I was spam and wouldn't let me post the data --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: django.contrib.sessions problems

2008-07-07 Thread Jeremy Dunck
On Mon, Jul 7, 2008 at 12:12 PM, digitalxero <[EMAIL PROTECTED]> wrote: > > On Jul 7, 11:09 am, digitalxero <[EMAIL PROTECTED]> wrote: >> *Adding this info to the ticket as well > > Well Trac decided I was spam and wouldn't let me post the data Log in to trac. See discussion here: http://groups.g

Re: Testing django-admin and manage.py

2008-07-07 Thread Leo Soto M.
On Mon, Jul 7, 2008 at 10:10 AM, Simon Willison <[EMAIL PROTECTED]> wrote: > > On Jul 7, 3:00 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: >> I've just uploaded a patch to #6017 that will hopefully address this >> issue. The patch 'django-admin-tests.diff' contains a prototype test >> fr

Re: django.contrib.sessions problems

2008-07-07 Thread mrts
Thus, looks there are two problems -- collisions happen too often on 32-bit machines (fixed by my patch) and db session backend doesn't handle them properly (no fix so far). As for the latter -- Malcolm, you were about to add a clear distinction between INSERT and UPDATE to .save() in http://grou

Reminder: "Must-have" feature freeze in two weeks

2008-07-07 Thread Jacob Kaplan-Moss
Hi folks -- This is your friendly reminder the three "must-have" features on the roadmap are due on two weeks -- Django 1.0 alpha is due for release on July 20th. We've got two sprints between then and now (see http://code.djangoproject.com/wiki/Sprints) so I think we're in good shape to get tho

Re: GSOC: More backends for djangosearch

2008-07-07 Thread Ben Firshman
A quick update! School things are well and truly out of the way now, so I can get to work. I have written a mysql full-text backend, and I am now working on a tsearch2 backend. http://code.google.com/p/djangosearch/source/browse/branches/soc-new-backends/djangosearch/backends/mysql.py I wil

fixture loading broken with django tagging

2008-07-07 Thread [EMAIL PROTECTED]
Hi, i just updated to the lastest newforms-admin django, and my fixtures won't load anymore. Here is what i get: Problem installing fixture '../fixtures/tmp__ei.json': Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/management/ commands/loaddata.py", line 1

Enjoy seeing pictures

2008-07-07 Thread anjali
Enjoy seeing pictures with new videos visit http://hatsforgirls.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group

Django-updates should be working again.

2008-07-07 Thread Jacob Kaplan-Moss
Hi folks -- OK, I finally figured out what was wrong with django-updates (http://groups.google.com/group/django-updates); it works again now. Everyone please thank Karen Tracey for bugging me, and please bug me again if it breaks again. Jacob --~--~-~--~~~---~--~

Pluggable authentication frontend framework

2008-07-07 Thread Oldřich Jedlička
Hi all, I developped something that could be called a "Pluggable authentication frontend framework". The basic idea is to have a configurable "frontend" that authenticates the user using some "backend" and does some action depending on the result of authentication. If the authentication fails, it

Re: Django-updates should be working again.

2008-07-07 Thread John-Scott Atlakson
As one of the original whiners about this issue, I salute you! And a shout out to Karen for being persistent. I give up too easily sometimes ;) John-Scott On Mon, Jul 7, 2008 at 6:19 PM, Jacob Kaplan-Moss < [EMAIL PROTECTED]> wrote: > > Hi folks -- > > OK, I finally figured out what was wrong wi

#7666: Default managers should not restrict access to single related objects

2008-07-07 Thread Joseph Kocherhans
I've filed #7666 [1] which has a test I wrote that fails to illustrate what I believe is a bug. The code is a lot easier to understand than my english, so I'll let it speak for itself. To be clear, I'm just talking about changing the behavior of ReverseSingleRelatedObjectDescriptor, not SingleRela

Re: #7666: Default managers should not restrict access to single related objects

2008-07-07 Thread Adrian Holovaty
On Mon, Jul 7, 2008 at 7:08 PM, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > I've filed #7666 [1] which has a test I wrote that fails to illustrate > what I believe is a bug. The code is a lot easier to understand than > my english, so I'll let it speak for itself. This is certainly a bug. The

Re: MS SQL pyodbc backend update to trunk

2008-07-07 Thread bob84123
I'd like to thank you for this work. I tried it and it *mostly* works on my Windows Server 2003 machine with MS SQL Server 2000, with a few hacks: - Changed the last line in creation.py to (this was just to make it work in SQL 2000 *for me*, clearly it shouldn't stay like this) DATA_TYPES

Re: GSOC: More backends for djangosearch

2008-07-07 Thread Rajeev J Sebastian
The latest PG has its own text indexing/search system ... is this what you are referring to by "tsearch2" ? Regards Rajeev J Sebastian On Mon, Jul 7, 2008 at 11:55 PM, Ben Firshman <[EMAIL PROTECTED]> wrote: > > A quick update! > > School things are well and truly out of the way now, so I can ge

Re: django.contrib.sessions problems

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 10:09 -0700, digitalxero wrote: [...] > The issue may actually be with the get_or_create() method of blocking > collisions since if it generates a duplicate id it just grabs that > data from the table and runs with it (I think), but whatever the > actual cause of the issue t

Re: Reminder: "Must-have" feature freeze in two weeks

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 13:58 -0500, Jacob Kaplan-Moss wrote: > Hi folks -- > > This is your friendly reminder the three "must-have" features on the > roadmap are due on two weeks -- Django 1.0 alpha is due for release on > July 20th. > > We've got two sprints between then and now (see > http://c

newforms-admin and urls (reverse/etc)

2008-07-07 Thread Collin Grady
I know it's kind of late to bring this up, but I haven't been using the branch, so it hasn't been at the front of my mind at all :) newforms-admin currently uses a url match of ^admin/(.*) which sort of kills reversing - you can't just pass the parts in, you have to manually build the string f

Re: newforms-admin and urls (reverse/etc)

2008-07-07 Thread [EMAIL PROTECTED]
My suggestion is that we make AdminSite have an attr that is actually a getter that dynamically generates a module like object that just has a urlpatterns attr so it's basically a dynamically generated URLConf and have each ModelAdmin cobble together it's portion and the AdminSite can put it all t

Re: #7666: Default managers should not restrict access to single related objects

2008-07-07 Thread Ivan Sagalaev
Adrian Holovaty wrote: > This is certainly a bug. The main question is how to fix it. Oh, it's a big can of worms, actually. I was once pondering on this and found some tricky cases. 1) Managers are not just restrict querysets by filtering. They can be used for example to produce custom querys

Re: django.contrib.sessions problems

2008-07-07 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > The rest of the conversation should > proceed on the assumption that the bug about creating unique database > entries will be fixed first. Now I think that the problem is only exists if one uses non-transactional DB setup. In this case due to race conditions one of th

Re: #7666: Default managers should not restrict access to single related objects

2008-07-07 Thread James Bennett
On Mon, Jul 7, 2008 at 8:29 PM, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > Currently, ReverseSingleRelatedObjectDescriptor uses _default_manager, > which is the problem (line 239 in django/db/models/related/fields.py). > One clean solution would be to give each model a _pristine_manager > attrib