Fwd: FW: Byte string error Django cache + celery

2019-08-20 Thread Kai Aeberli
Hi, When using Django caching backend with celery, I noticed I get an error “if ord(char) < 33 or ord(char) == 127: TypeError: ord() expected string of length 1, but int found” It goes away when I change the yellow highlighted to ‘str(key)’: -- You received this message because you are

Re: FW:

2013-05-04 Thread Ian Foote
Sorry for this everyone. My password wasn't strong enough. I've updated it now. Ian On 04/05/13 03:36, Kurtis Mullins wrote: Phishing Web Site (SPAM) On Sat, Apr 6, 2013 at 9:10 PM, Ian Foote > wrote: Snip -- You received this message

Re: FW:

2013-05-03 Thread Kurtis Mullins
Phishing Web Site (SPAM) On Sat, Apr 6, 2013 at 9:10 PM, Ian Foote wrote: > http://kyokushin-aoki.sakura.ne.jp/www/tvojdi.php > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

FW:

2013-05-03 Thread Ian Foote
http://kyokushin-aoki.sakura.ne.jp/www/tvojdi.php -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Re: Tools - Slow in python django fw

2012-10-01 Thread Cal Leeming [Simplicity Media Ltd]
Yeah, you're going to need to give us much more information than that. Here is a great link to show the kind of information you'd need to give; https://code.djangoproject.com/wiki/UsingTheMailingList Once you've sent more information, I'm sure someone will be able to help :) Cal On Mon, Oct

Re: Tools - Slow in python django fw

2012-10-01 Thread Sergiy Khohlov
Have you disabled debug in setting.py ? 2012/10/1 Babatunde Akinyanmi : > There are reasons why your app is slow but nobody would be able to > tell you without viewing your sources. You can profile the app and > pinpoint where exactly is slow and ask for advise from the

Re: Tools - Slow in python django fw

2012-10-01 Thread Babatunde Akinyanmi
There are reasons why your app is slow but nobody would be able to tell you without viewing your sources. You can profile the app and pinpoint where exactly is slow and ask for advise from the list. You can install django-debug-toolbar to profile your database queries. On 10/1/12, siva

Tools - Slow in python django fw

2012-09-30 Thread siva
Hi , We have converted our tools from php to django framework but tool performance is very slow compare to php . Please let us what are things we have to do ... Thanks, Siva -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this

Re: Fw: PLEASE HELP

2012-07-03 Thread Emily
Hi every one, I am so sorry but I am not the one that did that. may be I should change my authentication details to prevent this from happening again. Emily On Mon, Jul 2, 2012 at 8:57 PM, Larry Martell wrote: > On Mon, Jul 2, 2012 at 11:45 AM, Cal Leeming [Simplicity

Re: Fw: PLEASE HELP

2012-07-02 Thread Larry Martell
On Mon, Jul 2, 2012 at 11:45 AM, Cal Leeming [Simplicity Media Ltd] wrote: > Emily, > > Please refrain from sending chain/spam emails to the list, this isn't > acceptable. > > Also - on a site note, you really shouldn't be giving out your entire > mailbox by

Re: Fw: PLEASE HELP

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Emily, Please refrain from sending chain/spam emails to the list, this isn't acceptable. Also - on a site note, you really shouldn't be giving out your entire mailbox by cc'ing everyone, this isn't very good practice at all. Cal -- You received this message because you are subscribed to the

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread hg
Hi, Just to let everyone know - I uninstalled the mysql-python package for the server (not just in my virtualenv) and re-installed it, and that fixed the issue. Thanks for your help! On Aug 22, 4:56 pm, Cal Leeming wrote: > Do this: > > import sys > print sys.path > > Then

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Kejun He
On Mon, Aug 22, 2011 at 9:44 PM, hg wrote: > Hi All, > Thanks for taking the time to respond to my question. > Cal: I did try uninstalling and re-installing. > Kejun: Yes, it's installed. > > May be you can try to remove the mysql and python-mysqldb, and then reinstall them.

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming
Do this: import sys print sys.path Then paste result Thanks Cal On Mon, Aug 22, 2011 at 2:44 PM, hg wrote: > Hi All, > Thanks for taking the time to respond to my question. > Cal: I did try uninstalling and re-installing. > Kejun: Yes, it's installed. > > > On Aug 22,

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Do this: import sys print sys.path Then paste result Thanks On Mon, Aug 22, 2011 at 2:44 PM, hg wrote: > Hi All, > Thanks for taking the time to respond to my question. > Cal: I did try uninstalling and re-installing. > Kejun: Yes, it's installed. > > > On Aug 22, 11:18

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread hg
Hi All, Thanks for taking the time to respond to my question. Cal: I did try uninstalling and re-installing. Kejun: Yes, it's installed. On Aug 22, 11:18 am, Kejun He wrote: > Did you install python-mysqldb  in your mechine?? > > On Mon, Aug 22, 2011 at 3:45 PM, Cal

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Kejun He
Did you install python-mysqldb in your mechine?? On Mon, Aug 22, 2011 at 3:45 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hold on, i would say this is a django-related question (albeit not related > to a problem within django). OP - try removing and

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Hold on, i would say this is a django-related question (albeit not related to a problem within django). OP - try removing and reinstalling mysqldb on your python install and/or env. On Aug 21, 2011 2:20 PM, "Ramiro Morales" wrote: > On Sun, Aug 21, 2011 at 5:08 AM, Hadassa

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-21 Thread Ramiro Morales
On Sun, Aug 21, 2011 at 5:08 AM, Hadassa Golovenshitz wrote: > > > Hi everyone, > > Thank you for taking the time to look at my question. > > > > I’m setting up a django project that I got from a code repository, and in > trying to run ./manage.py syncdb I get the following

FW: MySQLdb version doesn't match _mysql version

2011-08-21 Thread Hadassa Golovenshitz
Hi everyone, Thank you for taking the time to look at my question. I'm setting up a django project that I got from a code repository, and in trying to run ./manage.py syncdb I get the following error: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: this is

Re: FW: google search

2010-06-21 Thread Tom Evans
On Mon, Jun 21, 2010 at 1:37 PM, Henrik Genssen wrote: > Hi, > > I am trying to optimize the search of users, as google does. > So I thought having a 2. column in DB with a "normalized" version of the > string. > By normalize I mean convert ä to ae etc. > > Someone done

FW: google search

2010-06-21 Thread Henrik Genssen
Hi, I am trying to optimize the search of users, as google does. So I thought having a 2. column in DB with a "normalized" version of the string. By normalize I mean convert ä to ae etc. Someone done this before? On my way searching for a solution, I found this lib for a "did you mean"

Re: FW: Select models based on m2m relationship.

2009-09-17 Thread Will Matos
Leon, Use ajax and json. Create a view method that returns a json list of actors and their ids, then populate your list with this. > > > -Original Message- > > From: django-users@googlegroups.com > > [mailto:django-us...@googlegroups.com] On Behalf Of Léon Dignòn > > Sent: Wednesday,

fw chapter 18 - custom view in admin

2007-01-11 Thread Picio
Hello, I need to filter the results of my admin change_list page. Following the djangobook chap. 18 , I managed to build my Custom View for a change_list page. Unfortunately I lost all the pretty things like, the search field, date hierarchy, filter per day month, etc. These are my steps: 1)

Fw: unique and blank/null

2006-07-10 Thread Kilian CAVALOTTI
Malcolm Tredinnick wrote: >> Well, if the field is blank and if I said that I'd like to store >> NULL values in the model definition, I guess I want to store NULL in >> the database, not empty strings. If that's not the case, I'm >> probably good for the pshrink. :) > > No; in general (in