Re: Streaming Uploads Discussion

2008-03-25 Thread Mike Axiak
On Mar 25, 3:38 pm, Mike Axiak <[EMAIL PROTECTED]> wrote: > Yes. :-) Doh. I didn't realize you actually wanted me to do more work. The newly updated doc can be found at the same URL: http://orodruin.axiak.net/upload_handling.html Be sure to refresh as the browser caching is high on that page. -

Re: Signal performance improvements

2008-03-25 Thread Jeremy Dunck
On Mon, Mar 24, 2008 at 11:11 PM, Brian Harring <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 10:55:03PM -0500, Jeremy Dunck wrote: > > One other enhancement I thought might be good is to have a > > Model.pre_init signal > > Such a signal exists already last I looked, same for post_init.

Re: Streaming Uploads Discussion

2008-03-25 Thread Mike Axiak
Hey, On Mar 25, 3:32 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Does this Just Work(tm) out of the box? Yes. :-) -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to t

Re: Streaming Uploads Discussion

2008-03-25 Thread Malcolm Tredinnick
On Mon, 2008-03-24 at 11:02 -0700, Mike Axiak wrote: > Now that we actually have a working patch [1], there are a few details > I'd like to raise here. I haven't had time to sit down and devote to reading through the whole patch, but I have a possibly very easy question that I can't answer from

Re: Adding InnoDB table engine to sql.py create table statements

2008-03-25 Thread Rob Hudson
On 3/24/08, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > Hi, ro60 > > There is no need in such setting. Just now you can set table engine to > entire database or in settings.py per-connection with > > DATABASE_OPTIONS = {"init_command": "SET storage_engine=INNODB" } Or to avoid this setting a

Re: Django + SQLAlchemy as a potential GSoC project

2008-03-25 Thread Ben Firshman
OK, thanks for the help. I did trawl through many threads on SQLAlchemy - I couldn't find any conclusive answers! Ben On 25 Mar 2008, at 10:12, Malcolm Tredinnick wrote: > > > On Tue, 2008-03-25 at 19:14 +1100, Malcolm Tredinnick wrote: > [...] >> >> Also "navigate politics to get something ac

Re: Streaming Uploads Discussion

2008-03-25 Thread Mike Axiak
Hey, On Mar 25, 6:04 am, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > I don't like #1 because there's no point to keep deprecated code in > Django where we can fix it. And #3 is indeed broken because there is > much code in the wild that uses request.FILES directly. It's a public > API after all. I

Re: Public spec is needed for writing ORM adapters

2008-03-25 Thread James Bennett
On Tue, Mar 25, 2008 at 4:59 AM, Ned Batchelder <[EMAIL PROTECTED]> wrote: > Unfortunately, django.db.backends.dummy falls below the bar for minimal API > documentation. While it may have the names of the entry points, they are > all defined as complain(*args, **kwargs), and they have no docstri

Re: Public spec is needed for writing ORM adapters

2008-03-25 Thread Niels
Posting my humble $.02 on this interesting subject: Given the existance of a django.db.backends.dummy module that probably contains, in *some* form, all of the required information to produce a document with "API signatures and entry/exit conditions", i would say the easiest to go is to hire (or

Re: Adding InnoDB table engine to sql.py create table statements

2008-03-25 Thread ro60
Oh! Even better. Thx for the heads up. On Mar 25, 2:10 am, Alex Koshelev <[EMAIL PROTECTED]> wrote: > Hi, ro60 > > There is no need in such setting. Just now you can set table engine to > entire database or in settings.py per-connection with > > DATABASE_OPTIONS = {"init_command": "SET storage_en

Mobile Income without Investment (Proof Cheque attached)

2008-03-25 Thread Priyabrata Patra
Hello, I found few genuine sites for earning through your mobile. 1. http://www.sms2india.co.in/?user=patrapb 2. http://www.youmint.com/network-patrapb 3. http://www.mginger.com/index.jsp?inviteId=115252 I HAVE ALREADY GOT CHEQUE OF RS.741/- from one site, the proof link is http://sms2india.c

Re: Django + SQLAlchemy as a potential GSoC project

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 19:14 +1100, Malcolm Tredinnick wrote: [...] > > Also "navigate politics to get something accepted into trunk that isn't > particularly wanted at this time" isn't a Google Summer of Code project > and we're not likely to bless a project that covers ground already being > ab

Re: Streaming Uploads Discussion

2008-03-25 Thread Ivan Sagalaev
Mike Axiak wrote: > 1. Leave forms code alone, causing (a) DeprecationWarnings and (b) > the files to be read into memory when saving. > 2. Modify the form code to access the attributes of the > UploadedFile, but on AttributeError use the old dict-style interface > and emit a DeprecationWarning.

Re: Public spec is needed for writing ORM adapters

2008-03-25 Thread Ned Batchelder
I thought I would end this standoff by simply going where James pointed, and turning it into the minimal "spec" Alex describes. I know next to nothing about db backends, but it sounded like this was a job for a scribe, not a developer. Unfortunately, django.db.backends.dummy falls below the ba

Re: Custom management commands with django-admin.py (again)

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 00:01 -0500, Joseph Kocherhans wrote: > So, I've worked up a new patch that works for me with manage.py and > django-admin.py both with the settings flag and the environment > variable. The only real difference from the original is that now in > setup_environ, DJANGO_SETTING

Re: Django + SQLAlchemy as a potential GSoC project

2008-03-25 Thread Malcolm Tredinnick
On Mon, 2008-03-24 at 21:19 +, Ben Firshman wrote: > > On 24 Mar 2008, at 20:48, Rob Hudson wrote: > > > > On 3/24/08, James Bennett <[EMAIL PROTECTED]> wrote: > >> > >> On Mon, Mar 24, 2008 at 3:23 PM, Ben Firshman <[EMAIL PROTECTED]> > >> wrote: > >>> Would proposing a complete replaceme