Re: Django Book

2007-05-21 Thread Marc Fargas Esteve
On 3/14/07, Derek Lee-Wo <[EMAIL PROTECTED]> wrote: > > Amazon shows that the book on Django will be published on March 26th > which is 1 1/2 weeks away. Does anyone know if that date is still > valid? > > I'm anxiously waiting to order it. Uhm.. I think they will wait until Django 1.0 hits the

Re: Scheduler proposal

2007-05-20 Thread Marc Fargas Esteve
Hi, On 5/20/07, Andi Albrecht <[EMAIL PROTECTED]> wrote: > A patch based on rev. 5297 is attached to this mail. > > I've tested this solution in my application a few days now and it > works pretty well. What do you think about it? You should fill a ticket in http://code.djangoproject.com/simplet

Re: Vote to support dreamhost mod_python

2007-05-04 Thread Marc Fargas Esteve
n a shared hosting, on the most simple case the use of mod_python would allow any user on the system to read your settings.py and you know what's on settings.py... (database_password, etc ...). On 5/4/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > On May 4, 7:31 pm, "

Re: Vote to support dreamhost mod_python

2007-05-04 Thread Marc Fargas Esteve
Has far as I know you cannot run mod_python applications as different users, everything runs as the web server user except with some experimental module around there, if this is the case, I would not go for mod_python. Anyway, as far as I know dreamhost supports FastCGI and Django works with that,

Re: django-Postgre bug?

2007-04-15 Thread Marc Fargas Esteve
Hi, 2007-04-15 11:23:06 CEST ERROR: no se puede truncar una tabla referida en una llave foránea 2007-04-15 11:23:06 CEST DETALLE: La tabla «galeria_galeria» hace referencia a «galeria_album». 2007-04-15 11:23:06 CEST HINT: Trunque la tabla «galeria_galeria» al mismo tiempo, o utilice TRUNCATE ..

Re: Which ajax framework django will support in the upcoming 1.0, prototype/dojo/jquery?

2007-04-10 Thread Marc Fargas Esteve
Hi Erdong, If you do a simple search for "AJAX" on this group you'll find the answer you're looking for, in brief: Django **will not** advocate for a specific ajax framework/library it provides useful tools to ease your development i.e. Serializers but as jacob sais a few days ago: "why should you

Re: Announcing Django 0.96!

2007-03-24 Thread Marc Fargas Esteve
Hi James, Maybe the release notes should say that newforms do not yet support File uploads in an easy way (see #3297) just to warn people moving from oldforms to newforms ;) Cheers, Marc. On 3/23/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > We're pleased to announce the release of Django 0.

Re: Can I write standalone Python app that uses Django auth, DB and models?

2007-03-22 Thread Marc Fargas Esteve
Sure you can, as long as you define the DJANGO_SETTINGS environment variable and import the models! Then its up to you how you interface the models from another app ;) On 3/23/07, Mike Stoddart <[EMAIL PROTECTED]> wrote: > > > Hi folks, > > I was hoping someone could let me know if it's possible

Re: database table prefix

2007-02-27 Thread Marc Fargas Esteve
Prefixes have been discussed sometimes, you can look at ticket #891 i.e. Or search this group about that... One "hackish" option you could go on is use different SITE_ID's in your sites, and either make your applications take care of SITE_ID (a foreignkey to Sites could help) or set the db_table

Re: Upcoming Django release, and the future

2007-02-27 Thread Marc Fargas Esteve
Hi Andrew, There's a ticket for that openned: http://code.djangoproject.com/ticket/3589 And it's closed as fixed :) On 2/27/07, Andrew Diederich <[EMAIL PROTECTED]> wrote: > > On Monday, February 26, 2007, 4:39:29 PM, James Bennett wrote: > > > On 2/26/07, Andrew Diederich <[EMAIL PROTECTED]> wro

Re: postgresql views and django

2007-02-22 Thread Marc Fargas Esteve
If the views are already there you can use ./manage.py inspectdb to get "guessed" models for those views (django will simply treat them as normal tables), you'll get in trouble if you try to create or update entries of this model unless you have written INSERT/UPDATE/DELETE rules on the view. >Fro

Re: Django Cheat Sheet

2007-02-13 Thread Marc Fargas Esteve
wow! On 2/13/07, Lars Stavholm <[EMAIL PROTECTED]> wrote: > > John Sutherland wrote: > > Hi all, > > > > Firstly, sorry for the cross-post. > > > > My employer, Mercurytide [1], as some of you may have seen in the > > past, publishes white-papers on a monthly basis. This month it's > > another Dj