Re: Running Tornado instead of modwsgi apache

2009-10-15 Thread djangou...@gmail.com
Blog post with tornado setup? :) Kenneth Gonsalves wrote: On Friday 16 Oct 2009 4:16:26 am Graham Dumpleton wrote: > > > Are you certain that the web server is the performance bottleneck? In > > > my experience, it rarely is. > > > > That argument aside, can we get an answer? > > But what

Re: Using email instead of username in extended "User" model?

2009-08-03 Thread djangou...@gmail.com
+1 thought that from the beginning! -- Sent from my Palm Pre Dana wrote: Yes, I agree that this is probably the best way to do it as I see now and I may well do that change, Im just hoping that Im missing some way to get around hacking up Django to get what I want... This seems like the one

Re: Stopping people loging in twice

2009-08-02 Thread djangou...@gmail.com
The main purpose for this would be to track login collisions and make sure users aren't sharing log in info. If a user has a high number of collisions we can assume they are sharing their credentials and take the appropriate actions. -- Sent from my Palm Pre Tim Chase wrote: > So is there a

Multi select field with images

2009-07-07 Thread djangou...@gmail.com
I have a modelform and I want to make one of my select multiple fields choices be images and not text. ideas/suggestions appreciated -- Sent from my Palm Pre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Complex select

2009-07-07 Thread djangou...@gmail.com
Something like this: Query = Comments.objects.all().sort_by("submit_date")[:5] -- Sent from my Palm Pre Viktor Semykin wrote: Hi everyone. I'm trying to create comment overview page. I want to select all content entries that were recently commented. The problem is that I don't know how to do th

Re: Using email as username for django auth

2009-07-04 Thread djangou...@gmail.com
Mind sharing your modifications? -- Sent from my Palm Pre zweb wrote: i just increased the size of username in auth_user table to 100 and I enter email as user name from my register user web page. Django auth is working fine. I use my own form and view but django's authenticate and login metho

Re: Password-protecting PDF downloads?

2009-06-30 Thread djangou...@gmail.com
Pdf password protection can easily be defeated. Better to go with a permissions system. -- Sent from my Palm Pre bax...@gretschpages.com wrote: This is probably more of a python question, but here goes: Can anyone point me to a method of dynamically attaching a password to a PDF and protecting