Re: Reverse Engineer + Database + Models

2007-10-29 Thread Malcolm Tredinnick
On Tue, 2007-10-30 at 06:37 +, aruns wrote: > Hello, > I am a new to Django.. > i just wanted to know if i could reverse engineer an existing > database tables to Model.py files > > is there any tool to do this?

I suggest offical version upgrade a bit for the windows user

2007-10-29 Thread kernel1983
I suggest django make at least a upgrade so that we can use command like: easy_install http://www.djangoproject.com/download/0.96.1/tarball/ Many of my friend start django on windows platform but failed to install... This issue of installing on windows has a long history.

Re: Proposal: shortcut to display one field from newforms

2007-10-29 Thread Collin Grady
[EMAIL PROTECTED] said the following: > 1) just form.FIELDNAME. It's quite obvious and is not occupied by > anything. Uh, yes it is :) {{ form.foo }} prints the input for the foo field > 2) form.show_FIELDNAME > 3) form.show(FIELDNAME), where FIELDNAME is a string. But this one > can't be

Re: Proposal: shortcut to display one field from newforms

2007-10-29 Thread Malcolm Tredinnick
On Mon, 2007-10-29 at 17:29 -0700, [EMAIL PROTECTED] wrote: > Hello everyone, > > Currently when person needs to render form into template using > newforms, he has two options: > 1) Use shortcut as_p / as_table / as_ul > or > 2) Use customised output, something like > {{ field.label_tag }} > {{

Proposal: shortcut to display one field from newforms

2007-10-29 Thread [EMAIL PROTECTED]
Hello everyone, Currently when person needs to render form into template using newforms, he has two options: 1) Use shortcut as_p / as_table / as_ul or 2) Use customised output, something like {{ field.label_tag }} {{ field }} {% if field.help_text %}{{ field.help_text }}{% endif %} {% if

Re: Having problems getting django running under apache and mod_python

2007-10-29 Thread crudolph
Thanks! That worked and my apologies for using the wrong list :(. Chris. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Having problems getting django running under apache and mod_python

2007-10-29 Thread Jared Flatow
Looks like you want to just add '/Users/rudolph/Sites' to your PythonPath: this is the path that Python is searching for the moose module in, not the path of the moose module itself (therefore just get rid of the trailing moose). You'll probably also want to reference your settings module

Re: multi-db branch

2007-10-29 Thread James Bennett
On 10/29/07, Ed Summers <[EMAIL PROTECTED]> wrote: > Does anyone know if there are any plans to merge the multi-db branch > [1]. I see in ticket #1142 that things are kind of quiet on the > development side. Did this come up at all during the big spring of > 14-Sep-2007? You probably want to

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-29 Thread Joe
Another note:, the peak load we see on the site is around 60 or 70 requests per second. With 4 gigs of ram and each apache instance weighing in at 60 megs, we can only start 67 apache processes, which can sometimes cause problems. The processor is a quad core Xeon, so it is not being used to

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-29 Thread Joe
Is there anyone out there using mod_wsgi on a high-traffic site who can vouch for how it performs? If I were to switch all of my sites over to mod_wsgi over mod_python, would the server become CPU bound instead of memory-bound? On Oct 26, 7:10 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: >

Re: FileField question

2007-10-29 Thread Justin Driscoll
To me having the two mutually-exclusive arguments sounds too much like trying to fake static typing in a dynamic language. I don't see the advantage of separate names for basically the same information provided in different ways. If it walks like a duck... if callable(upload_to):

Re: FileField question

2007-10-29 Thread Thomas Guettler
Am Freitag, 26. Oktober 2007 15:39 schrieb Marty Alchin: > Okay, just a quick update. I don't have a new patch ready yet, because > I wanted to outline a couple things and ask another question. I've > implemented the callable method for determining filenames, including > the ability to include a