After not receiving an answer, I figured people were just being polite
and not telling me to RTFM, so I have just combed the whole page of
model documentation and still can't find anything, except horrible typos
that I've corrected in the (not exactly) quoted message below. Sorry
about the mistypi
change the database user and pwd in settings.py file of your project.
On Jan 28, 12:28 am, "Julian Romero" <[EMAIL PROTECTED]> wrote:
> On 1/27/07, Pramod Subramanyan <[EMAIL PROTECTED]> wrote:
>
> > File
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg
> > /django/db/backends/postgr
At work, normally what I do is ask the designer what he wants to see
on the page, then I write very basic HTML code and the Django
templating code to display that info. After that, he just works in
his usual HTML/CSS editor moving the template code around.
On Jan 27, 6:56 pm, "Andrew Diederic
This could turn into a religious debate... but I give TextMate two thumbs up!
< http://macromates.com/ >
On 1/27/07, Andrew Diederich <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a tool for our non-programmers to develop the HTML
> templates for django. Our python folks can help stick in the
I'm looking for a tool for our non-programmers to develop the HTML
templates for django. Our python folks can help stick in the template
code, but the folks we have to make the website good-looking aren't
necessarily the same people.
Are there any HTML editing tools that people here have enjoyed
Anyone have any good tips on Cent OS deployments? I would like to use
python 2.5, but it is a little tricky with Cent...
Thanks,
Noah Gift
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hello,
I've used this advice:
http://groups.google.com/group/django-users/browse_thread/thread/
bb7f406bffd697f5/76f738315a6947eb?lnk=gst&q=admin
+thumbs&rnum=1#76f738315a6947eb
to add a thumbnail to the model's list page in admin.
I would like to also be able to display the thumb on the change
On 1/27/07, Pramod Subramanyan <[EMAIL PROTECTED]> wrote:
>
>
> File
> "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg
> /django/db/backends/postgresql/base.py"
> in cursor
> 43. self.connection = Database.connect(conn_string)
>
> OperationalError at /mysite/admin/
> FATAL: role "da
On 1/27/07, Don Arbow <[EMAIL PROTECTED]> wrote:
>
>
> Using print statements to debug a program is like figuring out what
> is wrong with your car by listening for weird noises. Using a
> debugger is like opening the hood and tweaking the engine with tools.
>
> Opening the hood seems a good approa
Hi there,
Me tried the Django tutorial - everything fine there - and then I
decided to get Django to use apache as the webserver - downloaded and
compiled both apache and mod_Python. And then modified the httpd.conf
file to look something like this:
MaxRequestsPerChild 1
LoadModule python_module
Is there any option where URLField validates even if user do not enter
http://. I don't want my users to enter http:// for the URL.
The code is
blogurl = forms.URLField(verify_exist=True)
but if I enter url without http, its not validating it.
www.google.com returns false
http://www.google.com r
On Jan 27, 2007, at 8:57 AM, Filipe Correia wrote:
>
>>> Having to change the source code to debug it doesn't feel very
>>> right...
>> And adding print statements is...what?
>
> I agree :) And that's why, to me, neither seem the right way to go...
> (then again, using prints is the most effecti
Jason,
Have you seen Chapter 21 of The Django Book, just released a few days
ago?
Chapter 21: Deploying Django
http://www.djangobook.com/en/beta/chapter21/
It discusses load balancing and performance, and mentions the
following:
"At this point, we've now broken things down as much as possibl
On Jan 27, 9:23 am, "canen" <[EMAIL PROTECTED]> wrote:
> my_field = ChoiceField(choices=[(1, 1), (2, 2)], initial=1)
> doesn't work?
Yes, thank you.
For information, here is more details.
I have a view function called bill_clone to build a new bill form
prepopulated with the values from a prev
> > Having to change the source code to debug it doesn't feel very right...
> And adding print statements is...what?
I agree :) And that's why, to me, neither seem the right way to go...
(then again, using prints is the most effective way I have found, and
I guess pdb is probably equivalent)
F
They do not exist, but they can be written. However, unless they
become absolutely necessary, keep as many computations on the view
side.
On Jan 27, 5:46 am, "Rob Slotboom" <[EMAIL PROTECTED]> wrote:
> This is working great, thanks!!
> While on it, there are more filter like solutions for inst
It's where user sessions are stored. Expired sessions are not culled
automatically.
delete from that table where expire_date < today, and you'll see it
drop quite a lot.
On 1/27/07, Pythoni <[EMAIL PROTECTED]> wrote:
>
> Can anyone explain what is core_sessions table for?
> I noticed that it is
On Jan 2, 6:48 pm, "Michel Thadeu Sabchuk" <[EMAIL PROTECTED]> wrote:
> I'm deploying a django project with postgresql as database backend. I
> used to create a local user with the same name of the database user
> (owner of the database), so I just need to run the webserver as the
> local user an
On 3 Jan, 02:54, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 02-Jan-07, at 11:18 PM, Michel Thadeu Sabchuk wrote:
>
> > without success, the error message tells me: FATAL:Ident
> > authentication failed for user "saraswati".edit pg_hba.conf - change
> > authentication fromident'sameuser'
This is working great, thanks!!
While on it, there are more filter like solutions for instance ADD. Is
there also something like DIVIDE, MULTIPLY etc? Or can these be custom
made?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
my_field = ChoiceField(choices=[(1, 1), (2, 2)], initial=1)
doesn't work?
On Jan 26, 7:04 pm, "Denis Frère" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm discovering newforms.
>
> It works pretty well, but I can't manage to give an initial selection
> in a ChoiceField (Select widget).
> I tried to
21 matches
Mail list logo