Fwd:Django-palooza

2006-02-27 Thread limodou
I fould this article. http://jjinux.blogspot.com/2006/02/python-django-palooza.html -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this message because you are

Re: Schema evolution

2006-02-27 Thread Ben Bangert
I'm inclined to agree with Ian on this. I've had very bad experiences with the Rails version of schema migrations, and having to restore db backups, then try them over and over when screw-ups happen (which ALTER statements always seem to cause when attempted in a cross-db way). Despite how many

Re: Schema evolution

2006-02-27 Thread Malcolm Tredinnick
On Mon, 2006-02-27 at 19:26 -0800, Jacob Kaplan-Moss wrote: > Hey folks -- > > I've posted (over 1200 words of) my thoughts on schema evolution to the > wiki: http://code.djangoproject.com/wiki/SchemaEvolution. > > Any thoughts before I start on this? Looks good. The only part that raised a

Re: Schema evolution

2006-02-27 Thread Ian Holsman
my only suggestion that I don't see in the wiki is to create a backup version of the table(s) before you attempt any DDL transactions. you could then you the 'insert INTO .. select ...' syntax to do your conversions. that way you keep all your old data if/when u screw up. this should be OK for

Re: Schema evolution

2006-02-27 Thread [EMAIL PROTECTED]
Jacob Kaplan-Moss wrote: > Hey folks -- > > I've posted (over 1200 words of) my thoughts on schema evolution to the > wiki: http://code.djangoproject.com/wiki/SchemaEvolution. > > Any thoughts before I start on this? > > Jacob I'm not sure exactly what reparations you're thinking will be

Re: Schema evolution

2006-02-27 Thread Matt Croydon
On 2/27/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: Any thoughts before I start on this?I'm definitely +1 on this.  The flexibility of using SQL or Python for migration lets people use the tools that they are most familiar/comfortable  with.  While I think that anyone with "real" data to

Re: urlconf, applications..coupling

2006-02-27 Thread Daniel Poelzleithner
Adrian Holovaty wrote: > Yes, I realize __name__ + '.views' will result in something like > 'myproject.polls.urls.views' -- some extra string mangling would have > to be done. how about using the python 2.5 relative import syntax and emulating it accoringly. urlpatterns = patterns('.views',

Re: Django sprint at PyCon

2006-02-27 Thread Eugene Lazutkin
Ivan Sagalaev wrote: > I still care very much for Postgres thread-safety ticket (#900). Seeing > that Eugene will cover MySQL patches I wonder if it's Postgres cousin is > on the list too? Yes. I'll try to cover all related tickets. Thanks, Eugene

Multiple Auth Backends

2006-02-27 Thread Joseph Kocherhans
If you are terribly interested in multiple auth backends, check out http://code.djangoproject.com/wiki/MultipleAuthBackends It's pretty abstract, but it WILL take care of the use case where you want people to log in with an email address. (That's for brian if he's still hanging around in

Ouputting data stream

2006-02-27 Thread Ivan Sagalaev
I'm starting to build an application where I need to output large files to the user in chunks to control download speed and to know if the download has succeeded. Django's HttpResponse object treats response as a single string in memory and doesn't allow such things. I plan to modify it to be

Re: add(), remove(), and clear() on ManyRelatedObjectsDescriptor for ForeignKeys

2006-02-27 Thread Russell Keith-Magee
On 2/27/06, Luke Plant <[EMAIL PROTECTED]> wrote: > > How hard would it be to add the 'remove()' method but only for > foreign key relationships that can be null? That should be possible - I'll see what I can do. Russ Magee %-) --~--~-~--~~~---~--~~ You received

[magic-removal] How to create related table from field

2006-02-27 Thread nesh
I'm trying to create i18n aware Char and Text fields for m-r branch but I can't figure out how to create additional tables from field definition (something like M2M field does). Basically I need something like this: class Foo(models.Model): bar = I18NCharField(...) to create Foo model

Re: how to access php file from django

2006-02-27 Thread Andrew Gwozdziewycz
> i have an Html form that calls php page and its functionality is to > send > an email and i need to accesss from the django framework > i am wondering should i write something in the url.py i really don't > know and i need the functionality of the PHP page to work properly How hard would it

Re: Django sprint at PyCon

2006-02-27 Thread Ivan Sagalaev
Jacob Kaplan-Moss wrote: >You can find those topics and notes from our meeting today >at http://code.djangoproject.com/wiki/PyConSprint06. > > What counts as "crash-level bugs" and "outstanding patches"? I still care very much for Postgres thread-safety ticket (#900). Seeing that Eugene will

Re: add(), remove(), and clear() on ManyRelatedObjectsDescriptor for ForeignKeys

2006-02-27 Thread Luke Plant
Russell Keith-Magee wrote: > - rename add() for o2m descriptors to something else, to remove the > implication that there should be a corresponding remove() and clear() > method. However, I can't think of a reasonable alternative. I like your suggestions, but like you I'm not entirely convinced

Re: Django sprint at PyCon

2006-02-27 Thread Malcolm Tredinnick
On Mon, 2006-02-27 at 02:15 -0600, Jeremy Dunck wrote: > On 2/27/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > ... > > On other Open Source projects I've worked on, there has been a way to > > indicate in the bug tracking system that a patch was attached to a > > report. Either by adding

Re: Django sprint at PyCon

2006-02-27 Thread Jeremy Dunck
On 2/27/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: ... > On other Open Source projects I've worked on, there has been a way to > indicate in the bug tracking system that a patch was attached to a > report. Either by adding [patch] to the title or setting a "patch" > keyword or something