problem with date and decimal changes between 1.1.1 and 1.2.4

2011-02-07 Thread Jop
Hallo, I am upgrading a Django project from 1.1.1 to 1.2.4. Unfortunately I'm running into some trouble concerning date and decimal formatting in 1.2.4. What I'm looking for is to match the original situation as we need the dates to be the same for xml feeds etc and the point for javascript. I

Re: Global variable during request

2010-10-22 Thread Jop
Thnx, i'll try that :) On 22 okt, 18:39, Michael <mhall...@gmail.com> wrote: > Use middleware to set a threadlocal variable in a global namespace on > request, and unset it on response. > -- > Michael <mhall...@gmail.com> > > > > On Fri, 2010-10-22 at 0

Global variable during request

2010-10-22 Thread Jop
simple solution, but I can't seem to figure it out. Any ideas? Thanx a lot! Jop -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group,

Re: Problem with inline form: "__init__() got an unexpected keyword argument 'instance'"

2010-01-12 Thread Jop
Hi Daniel, Thanx for the suggestions, i've got it working now! Up to the next challenge :) Greets Jop On 12 jan, 12:17, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Jan 12, 10:54 am, Jop <jop.reynt...@gmail.com> wrote: > > > > > Hello, > > > I str

Problem with inline form: "__init__() got an unexpected keyword argument 'instance'"

2010-01-12 Thread Jop
t an error, the Traceback is below. For testing purposes I made a very simple Client/Client model example, the code is below. I really appreciate any tips/suggestions/ideas :) Greets Jop model.py == from django.db import models cl