Re: Possible backwards incompatibility introduced by change 12950 (in upgrade from 1.1.1 to 1.1.2)

2010-10-07 Thread Jyrki Pulliainen
On Oct 6, 5:12 pm, Russell Keith-Magee wrote: > Hi Jyrki, > > My apologies for not responding -- your message ran off the bottom of my > inbox. No prob, thanks for the response! > I've had a look at your sample code; the problem is that you're > importing the app1

Re: Possible backwards incompatibility introduced by change 12950 (in upgrade from 1.1.1 to 1.1.2)

2010-10-06 Thread Jyrki Pulliainen
Sorry for bump up, but anything to say about this? Should I create a ticket about the problem? - Jyrki On Oct 1, 9:41 am, Jyrki Pulliainen <jy...@dywypi.org> wrote: > On Oct 1, 3:30 am, Russell Keith-Magee <russ...@keith-magee.com> > wrote: > > Not really -- I've tried

Re: Possible backwards incompatibility introduced by change 12950 (in upgrade from 1.1.1 to 1.1.2)

2010-10-01 Thread Jyrki Pulliainen
On Oct 1, 3:30 am, Russell Keith-Magee wrote: > Not really -- I've tried to reproduce the 2 apps and three models you > describe, but I don't see any errors on 1.1.1 or 1.1.2. > > I appreciate that you can't release your actual source code, but if > you can generate a

Re: Possible backwards incompatibility introduced by change 12950 (in upgrade from 1.1.1 to 1.1.2)

2010-09-30 Thread Jyrki Pulliainen
On Sep 30, 3:38 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Thu, Sep 30, 2010 at 8:01 AM, Jyrki Pulliainen <jy...@dywypi.org> wrote: > > We encountered a possible backwards incompatibility with change 12950 > > [1]. This was noticed when upgrading from 1.1.1 to 1

Possible backwards incompatibility introduced by change 12950 (in upgrade from 1.1.1 to 1.1.2)

2010-09-30 Thread Jyrki Pulliainen
Hi! We encountered a possible backwards incompatibility with change 12950 [1]. This was noticed when upgrading from 1.1.1 to 1.1.2. If I understand correctly the change 12950 removes squelching of ImportErrors from AppCache. AppCache in turn provides reverse- relations for app introspection, for

Re: ANN: nosedjango 0.8.1

2010-08-23 Thread Jyrki Pulliainen
On Aug 23, 2:26 pm, Reinout van Rees <rein...@vanrees.org> wrote: > On 08/23/2010 08:54 AM, Jyrki Pulliainen wrote: > > > Hi there, > > > I'm pleased to announce new version of Django testing plugin for nose: > > nosedjango version 0.8.1. > > What are the

ANN: nosedjango 0.8.1

2010-08-23 Thread Jyrki Pulliainen
://pypi.python.org/pypi/NoseDjango/0.8.1 For those using Ubuntu, I've made packages available for 10.04 (Lucid Lynx) in my PPA: https://launchpad.net/~jyrki-pulliainen/+archive/ppa Source and issue tracker are available in Github: http://github.com/inoi/nosedjango Cheers, Jyrki -- You received

Re: Evaluation of urls.py in mod_python

2007-01-19 Thread Jyrki Pulliainen
On 1/11/07, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > If my understanding is correct, when you use this method: > > > choices = { > > 'queryset': Poll.objects.filter(opening_date__lte=datetime.now(), > > closing_date__gte=datetime.now()) > > } > > The value of datetime.now() is evaluated

Customized Admin interface and logout link

2007-01-16 Thread Jyrki Pulliainen
Hi there, I've customized a voting application interface to show voting results on a custom view in admin. However, the problem is that the frontpage and especially the logout link are broken. Logout directs to admin/voting/result/logout, which results in 404. Frontpage-link (in the

Evaluation of urls.py in mod_python

2007-01-11 Thread Jyrki Pulliainen
Hi, after running in some rather strange problems I got curious about the way Django and/or mod_python evaluates urls.py. Is there a difference if I use following code: now = datetime.now() choices = { 'queryset': Poll.objects.filter(opening_date__lte=now, closing_date__gte=now) } Or if

Re: [tool] Autodoc (a script to grap and generate django documentation at html format)

2006-10-13 Thread Jyrki Pulliainen
On 10/13/06, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > > Jyrki Pulliainen wrote: > > > Script seems to work. However: Python-docutils package (at least on my > > Ubuntu Dapper) ships with buildhtml.py-script, which can be found in > > /usr/share/python-d

Re: [tool] Autodoc (a script to grap and generate django documentation at html format)

2006-10-13 Thread Jyrki Pulliainen
On 10/13/06, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > New to django/python, and as I work often in the train, I was interested in > reading the djando doc offline. > > So I wrote my first python script that : > * grap last version of the doc on the svn > * generate html version of all files

Re: finnish translation

2006-09-14 Thread Jyrki Pulliainen
On 9/14/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > i find that django doesnt seem to have finnish. Is anyone working on > it? If not I will have to get it done. I'd be interested to review it as soon as you get your hands on it. Perhaps I could contribute some time to it, but I

Re: Google-like API keys

2006-08-11 Thread Jyrki Pulliainen
On 8/11/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > On 8/10/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote: > > On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > > On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote: > > > > Nowadays(

Re: Google-like API keys

2006-08-10 Thread Jyrki Pulliainen
On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote: > > > > Nowadays(is that a word?) a lot of fancy web services use API keys to > > allow an individual access to a service without requiring a username > > and password. Google, flickr(I

Re: json serialization

2006-08-01 Thread Jyrki Pulliainen
2006/7/31, Jyrki Pulliainen <[EMAIL PROTECTED]>: > I filed a ticket for this, see http://code.djangoproject.com/ticket/2460 Json serialization is now fixed in SVN Trunk version -- Jyrki // [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received thi

Re: json serialization

2006-08-01 Thread Jyrki Pulliainen
2006/7/31, Gábor Farkas <[EMAIL PROTECTED]>: > > Jyrki Pulliainen wrote: > > 2006/7/31, Gábor Farkas <[EMAIL PROTECTED]>: > >> > >> datetime.datetime inherits from datetime. > >> > > > > Definetly not > > > > > sorry,

Re: json serialization

2006-07-31 Thread Jyrki Pulliainen
I filed a ticket for this, see http://code.djangoproject.com/ticket/2460 -- Jyrki // [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: json serialization

2006-07-31 Thread Jyrki Pulliainen
2006/7/31, Gábor Farkas <[EMAIL PROTECTED]>: > > siniy wrote: > > Hi all, > > I've downloaded today a new release of Django and played with json > > serialization. I found that if you use DateTime field the resulting > > json string contains only date, but not all datetime. So I viewed a > >

Re: json serialization

2006-07-31 Thread Jyrki Pulliainen
2006/7/31, siniy <[EMAIL PROTECTED]>: > I know that isinstance(o, datetime.date) returns "True" even "o" is a > datetime object. But I don't know - may be it's a python bug? My python > version 2.4.3 from Ubuntu Dapper. I can confirm this behaviour with Debian Testing's Python 2.3.5 too. --

Re: Password Generator

2006-07-12 Thread Jyrki Pulliainen
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > On 7/12/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote: > > > > On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > > > salt = sha.new(str(random.random())).hexdigest()[:5] &

Re: Password Generator

2006-07-12 Thread Jyrki Pulliainen
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote: > > salt = sha.new(str(random.random())).hexdigest()[:5] Dunno is this really a developer question, but is there really a point using sha there? That one could be done without sha too using random.getrandbits(bits), eg.: ('%x' %

Re: Is Django suitable for a big numbers of visitors??

2006-05-30 Thread Jyrki Pulliainen
On 5/29/06, wiz <[EMAIL PROTECTED]> wrote: > > How can I verify that caching works? > "apache benchmark" or something like that. I've found FunkLoad more functional. You can run multiple threaded queries with it for desirable amount of iterations with intervals. It simulates better multiple