Re: Invalid Login and Throwing Captcha

2007-04-27 Thread Paul Rauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 johnny schrieb: > I want to throw captcha, when the user failed to login, after 2nd > try. How do I keep track of how many times login fails? Set a cookie > with login attempt? > > Thank you. > this is a bad way to do this, the user can easily de

--- || KAJOL || KATRINA || KAREENA || -----

2007-04-27 Thread Kooooool forwords
[image: vacation cruise , amazon cruise , cheap cruise deals , star ship cruise] [image: vacation cruise , amazon cruise , cheap cruise deals , star ship cruise] [image: vaca

Invalid Login and Throwing Captcha

2007-04-27 Thread johnny
I want to throw captcha, when the user failed to login, after 2nd try. How do I keep track of how many times login fails? Set a cookie with login attempt? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: IEPngFix Hack for Django ?

2007-04-27 Thread Sam Morris
On Fri, 27 Apr 2007 05:23:40 -0700, dbee wrote: > My site is at flowerhour.biz. I've been at this thing for hours now, and > I've done everything I can think of to make it run... $ HEAD http://www.flowerhour.biz/site_media/css/iepngfix.htc | grep -i content-type Content-Type: text/html; charset=

Share your prayers at prayershare.co.uk

2007-04-27 Thread richard porter
Hi all, prayershare.co.uk is a website i built for this group. You might all need the power of Jesus to help you get out of this bad habit, but you might need Him also to say THANK YOU for being delivered. Send your testimonials and prayer requests to the chain, post comments and be a happy comm

Re: Setting up psycopg2

2007-04-27 Thread Brian Luft
Well I'm checking against Debian here at work and can check my Ubuntu installation at home later, but running pg_config shows that postgres was built with the "enable-thread-safety" option - (not sure if that is a different option or if the psycopg docs are incorrect). I would assume the same for

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Joseph Heck
Actually, we're using Starfire Media (http://www.starfiremedia.com/) in Seattle. Tiny shop, sometimes quirky, but we've had good service from them. -joe On 4/27/07, Joshua Kogut <[EMAIL PROTECTED]> wrote: > > Just wondering, but would you be referring to VPSLink? (or their mother > company, Spry)

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Joshua Kogut
Just wondering, but would you be referring to VPSLink? (or their mother company, Spry). If so, I'd have to second your choice, I have yet to find a better host. On 4/27/07, Joseph Heck <[EMAIL PROTECTED]> wrote: > > rah, rah, rah - I'll just pile on with the VPS solutions - but with the > obvious

Re: Custom django importing

2007-04-27 Thread Joseph Heck
Get rid of the copy in sites-package is the easiest solution - then just make sure the local copy is on your sys.path (PYTHONPATH). -joe On 4/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi > > I 'm in situation that I have a django directory and every time I > start django, it will

Custom django importing

2007-04-27 Thread meledictas
Hi I 'm in situation that I have a django directory and every time I start django, it will use a site-packages version. The problem is, I need to use a patched version of django that locate at my directory. The question is, How to use local django instead of a version at site- package Thank -

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Joseph Heck
rah, rah, rah - I'll just pile on with the VPS solutions - but with the obvious addition: TEST IT. It's pretty straightforward to get the processing time, including the time of the queries, using all the django goodness that's already in place. At 20 page requests a second that aren't static/cache

Setting up psycopg2

2007-04-27 Thread HenrikG
Hi! I want to install psycopg2 on Ubuntu Dapper 6.06.1. I'm wondering about a note in a file called INSTALL in the psycopg2-source. It says: """ Important note: if you plan to use psycopg2 in a multithreaded application make sure that your libpq has been compiled with the -- with-thread-safety o

Re: Built in Users one-to-many in built-in admin

2007-04-27 Thread Gabe
I did forget to add that and it worked! =) Thank you! g On 4/26/07, Erik Postma <[EMAIL PROTECTED]> wrote: > > > > On Apr 27, 6:11 am, mynameisgabe <[EMAIL PROTECTED]> wrote: > > Hello all - > > > > I'm using django's awesome built in admin for internal folks to view > > and manage users and t

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread RajeshD
On Apr 27, 8:16 am, "Benjamin Slavin" <[EMAIL PROTECTED]> wrote: > On 4/27/07, Nicola Larosa <[EMAIL PROTECTED]> wrote: > > > You may consider starting with a virtual server, and then moving to > > dedicated ones when the traffic warrants it. > > I second the recommendation to go with a virtual

can'tr start django server

2007-04-27 Thread Grigory Fateyev
Hello! I use django on Debian Sarge and after a while (upgrade django to Revision: 5007) init script not running. First problem was in mysqldb-python library, it was update anhd now runserver starts well. What it can be? Can attach strace output... init script: set -e PATH=/usr/local/sbin:/usr/

Re: IEPngFix Hack for Django ?

2007-04-27 Thread RajeshD
> > Has anyone else got this hack to work with django ? > > http://www.twinhelix.com/css/iepngfix/demo > I have used the "PNG Fix" successfully on a couple of sites. You're right the hack has nothing to do with Django. Here's my PNG: http://gaylefitzpatrick.com/media/style/images/denmarkteak.png

Re: Newforms and Hidden Fields - verifying POST data

2007-04-27 Thread Tipan
Having implemented this solution, I'm now getting problems with comparison differences between the hash that I pass in the form as a hidden field and the hash of the data taken from the Form view. If I look at the data before and after, it appears that the data from the form object is using carri

IEPngFix Hack for Django ?

2007-04-27 Thread dbee
I can't get the IEPngFix hack to work with django. Basically the hack adds an alpha channel to all pngs on a page so that you can have transparency in your PNG images in IE6. Ordinarily I wouldn't ask a django mailing list this kind of question. But I've tried everything I can think of, and I'm l

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Benjamin Slavin
On 4/27/07, Nicola Larosa <[EMAIL PROTECTED]> wrote: > You may consider starting with a virtual server, and then moving to > dedicated ones when the traffic warrants it. I second the recommendation to go with a virtual server as a starting point. I've had great success with Slicehost. The advan

Re: Newforms example

2007-04-27 Thread Gerry Steele
Thanks, I'd never read about forms.models.form_for_model() anywhere. Thats awesome, just saved me a lot of time/effort. Many Thanks. viestards wrote: > I liked this tutorial: > http://code.pui.ch/2007/01/07/using-djangos-newforms/ > > try searching Google for 'django newforms tutorial', there i

Re: loaddata on User bug?

2007-04-27 Thread Russell Keith-Magee
On 4/27/07, Vinay Sajip <[EMAIL PROTECTED]> wrote: > > On Apr 26, 10:49 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > I have dumped the User model on one db using dumpdata. I have a single > > json fixture file with one record (see below). When I run the loadata > > I get the error belo

Re: Newforms example

2007-04-27 Thread viestards
I liked this tutorial: http://code.pui.ch/2007/01/07/using-djangos-newforms/ try searching Google for 'django newforms tutorial', there is some other good tutorials too On 4/27/07, Gerry Steele <[EMAIL PROTECTED]> wrote: > > Hi, > > I've been building an app and all has been going well. I was t

<>

2007-04-27 Thread Rania Desai
*Friends Here are New 7 Wonders (Unbelievable Mega machine)* http://information.100stuff.com/unbelievable-megamachine/ if you know about any unbelievable thing please us Thanks bye --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Newforms example

2007-04-27 Thread Gerry Steele
Hi, I've been building an app and all has been going well. I was though using the admin to do all input and editing of data. Now i'm trying to build forms for all this and i'm finding newforms docs to be no use to me. I went through all the docs at http://www.djangoproject.com/documentation/n

Free Handphone Optional

2007-04-27 Thread Arthur
See www.javagames.co.nr Cool ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [

Re: Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Nicola Larosa
Alex Dong wrote: > I'm planning to host our new django based website on dedicated server > hosting. > ... > By the end of 6 months, We're hoping that we'd have following traffic: > ... You may consider starting with a virtual server, and then moving to dedicated ones when the traffic warrants it.

Whether 2G RAM dedicated server could support a django site with 190 reqs/sec?

2007-04-27 Thread Alex Dong
Hi Folks, I'm planning to host our new django based website on dedicated server hosting. Besides having a shared DreamHost account, I don't have too many experiences in this. I'll definitely do stress tests to check but before I put the purchase order, I'd love to hear whether do you think the h