JP wrote:
> Looking back over the multi-db branch today, I realized that it seems
> to be duplicating the thread locality of connections. The connection
> management classes in multi-db django.db manage all connections as
> thread local, and the DatabaseWrapper classes in the backends are all
> su
Hi,
I would find already really useful something like a database with, for
each project a name, description, type of application (middleware,...
or maybe blog, photo manager,...) and a link to the project page (or
blog entrance). All this should have a search function.
This could replace a lot o
Hello,
I have the feeling that this is more or less already existing. It is
called "google code"
- http://code.google.com/hosting/search?q=label:django
It is taking 2 min to create a new projet. the only thing missing there
is a "meta" wiki where the owner of each project can publish
informatio
On 8/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have the feeling that this is more or less already existing. It is
> called "google code"
> - http://code.google.com/hosting/search?q=label:django
> It is taking 2 min to create a new projet. the only thing missing there
>
I agree with you what absolutely need to be included to the dajngo web
site is at least a pointer to the code repository. It would also be
nice if djangoproject could host the project documentation. However I
think that it would be great to have a sandbox for each project where
visitor can experim
On 8/22/06, James Bennett <[EMAIL PROTECTED]> wrote:
> 1. It's easier to "switch out" pooling utilities this way, or to
> switch between pooling and not pooling as circumstances dictate. When
> your framework tries to do connection pooling for you, it
> automatically gets harder and, depending on
Ivan Sagalaev wrote:
> JP wrote:
> > Looking back over the multi-db branch today, I realized that it seems
> > to be duplicating the thread locality of connections. The connection
> > management classes in multi-db django.db manage all connections as
> > thread local, and the DatabaseWrapper class
JP wrote:
> Not a dumb question at all. I'll try to explain better by contrasting
> how multi-db handles connections with how connections are kept thread
> local in trunk.
BTW, I happen to know how it works now since I was among those who was
trying to solve threading issues before Eugene Lazutk
Kevin Menard wrote:
> I've experienced the exact opposite. When I can say in a config file
> that I want 10 connections in a pool, that's a lot easier for me than
> setting up an external utility.
In my experience such simple behavior is rarely needed. When you
actually need a pool it means tha
Ivan Sagalaev wrote:
> JP wrote:
> > Not a dumb question at all. I'll try to explain better by contrasting
> > how multi-db handles connections with how connections are kept thread
> > local in trunk.
>
> BTW, I happen to know how it works now since I was among those who was
> trying to solve thre
Hello !
First I want to say I'm sorry if I have a poor English, it's not my
first language.
My problem is that : I start learning I18n with Django but i don't
understand how to create langage file (type .po) with the content of
the database (like CharField).
I wonder if it's possible to do it be
I've added the code.google link on the wiki :)
In general people will host their projects at google, sourceforge and
other sites like these. The basic thing what djangoproject.com should
have is a project catalog where all django based projects can be added,
listed, searched etc.
Second thing - t
> In my experience such simple behavior is rarely needed. When you
> actually need a pool it means that your app become pretty large so it
> requires not only static pool but also other settings like minimum spare
> connections, maximum spare connections, keep-alive timeouts etc... So
> this becom
Dan Watson wrote:
> Ideally, it seems django should offer simple connection pooling with 2
> options: number of connections and an on/off switch. That would satisfy
> the needs of some/most, and for those that need something more robust,
> look into an external pooler.
In your words this looks us
Dan Watson wrote:
> Ideally, it seems django should offer simple connection pooling with 2
> options: number of connections and an on/off switch. That would satisfy
> the needs of some/most, and for those that need something more robust,
> look into an external pooler.
Thinking this over a bit m
I've got the following:
class Page(models.Model):
name = models.CharField(maxlength=64, db_index=True,
unique=True)
description = models.TextField(blank=True)
class Text(models.Model):
page = models.ForeignKey(Page, db_index=True,
edit_inline=models.STACKED)
conte
I'd like to integrate the optgroup tag
(http://www.w3schools.com/tags/tag_optgroup.asp) into the FilePathField
(which would in code would lead to this being tacked onto the
SelectField object) and want to get people's thoughts before writing
the code.
My thought would be that:
NAME_CHOICES = (
Resurrecting an old thread...
Let's make this happen!
Joseph (in the e-mail below) has spelled out a pretty decent plan for
the new manipulator scheme. I see that we've got another proposal in
Trac by Brant Harris -- http://code.djangoproject.com/ticket/2586.
Let's get something decided and impl
On 8/23/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> Thoughts/comments/suggestions on Joseph's plan below, and on Brant's
> plan in Trac?
I think Brant's rocking the sexiness; the concept of validation
behaving as a try/except block feels nice to me. And bidding good-bye
to 'if errors', FormW
try ./manage.py install, it executes sqlall
Corey
On Aug 23, 2006, at 2:42 PM, [EMAIL PROTECTED] wrote:
>
> I've got the following:
>
> class Page(models.Model):
> name = models.CharField(maxlength=64, db_index=True,
> unique=True)
> description = models.TextField(blank=True)
>
limodou wrote:
> I think if this functionality built on django official site is the
> better, because every djangor can easy find it. I think the first
> stage could be the index site supplied by django site, and the exact
> projects could be found everywhere. And the second stage could be
> hosti
On 8/24/06, Gary Wilson <[EMAIL PROTECTED]> wrote:
>
> limodou wrote:
> > I think if this functionality built on django official site is the
> > better, because every djangor can easy find it. I think the first
> > stage could be the index site supplied by django site, and the exact
> > projects c
so Limodou.
what's the next step.
have you got a prototype of it ? or a idea on how it will work?
I've got a old linux box you can use to host it until it gets popular.
I'm more for just storing the meta-data of the project, and let the
owners of the project host it on their own (or googles or
On 8/24/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>
> so Limodou.
>
> what's the next step.
> have you got a prototype of it ? or a idea on how it will work?
> I've got a old linux box you can use to host it until it gets popular.
No, I haven't a plan about it, just some ideas. If someone make i
On 24/08/2006, at 2:00 PM, limodou wrote:
>
> On 8/24/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>>
>> so Limodou.
>>
>> what's the next step.
>> have you got a prototype of it ? or a idea on how it will work?
>> I've got a old linux box you can use to host it until it gets
>> popular.
>
> No,
On 8/24/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>
>
> On 24/08/2006, at 2:00 PM, limodou wrote:
>
> >
> > On 8/24/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >>
> >> so Limodou.
> >>
> >> what's the next step.
> >> have you got a prototype of it ? or a idea on how it will work?
> >> I've got a
Finally! I've been waiting :)
On 8/23/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> How To Be Sexy, Rule 1: The word "manipulator" has really got to go.
>
> Thoughts/comments/suggestions on Joseph's plan below, and on Brant's
> plan in Trac?
>
I know you want to get rid of the concept of "
On 8/23/06, James Bennett <[EMAIL PROTECTED]> wrote:
> 1. I'm not sure I like the idea of manipulators having a 'process'
> method which does everything; it would feel more natural to just try
> 'manipulator.save()', have that save if all is well, and catch any
> validation errors.
The problem is
On 8/23/06, Brantley Harris <[EMAIL PROTECTED]> wrote:
> The problem is that to make it usefull to the user (read: api-user /
> developer), you have to put the model save in a try / except block so
> that if there is a validation error, it can raise the form.
> Otherwise, the user will have to pro
On 8/24/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 8/23/06, Brantley Harris <[EMAIL PROTECTED]> wrote:
> > The problem is that to make it usefull to the user (read: api-user /
> > developer), you have to put the model save in a try / except block so
> > that if there is a validation error
On 8/24/06, Brantley Harris <[EMAIL PROTECTED]> wrote:
> No, watch for the difference between a ValidationError being raised
> and a Form exception being raised. In the ValidationError case, it
> must be saved and returned with the other validation errors in the
> given step (1. conversion; 2. fo
31 matches
Mail list logo