Re: Reverse Foriegnkey filtering

2016-01-30 Thread Peter of the Norse
> On Jan 27, 2016, at 5:15 AM, Michal Petrucha > wrote: > > On Wed, Jan 27, 2016 at 11:58:23AM +, Jonty Needham wrote: >> I've found a need to do this and I'm struggling. Some info seems to >> indicate that django doesn't support this. How is it meant to be done? >> >> Basically to be clear

Re: self.publish.strftime('%m')

2016-01-30 Thread Peter of the Norse
You could use self.public.strftime(‘%Y’) without any problems here. If fact, it might be a bit safer if the year is ever less then four digits. Since month and day are exactly two digits in the URL, reverse has to make sure they match exactly. That means making sure there is a leading zero.

Re: Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread Martín Torre Castro
I can't see the initial load, which is the same as saying that the first step does not load. El 30 ene. 2016 1:56 p. m., "James Schneider" escribió: > Your view is returning a 200 code, so it thinks it is finishing correctly > with no errors, probably the reason you don't see any errors. > > At w

Re: Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread James Schneider
Your view is returning a 200 code, so it thinks it is finishing correctly with no errors, probably the reason you don't see any errors. At what point do you get a blank page? Initial load? Final step? Does the template in your done() step exist? Have you installed the Django-debug-toolbar to exami

Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread Martin Torre Castro
I'm trying to use the formwizard in formtools package with no success (I was able to do it when the package was inside Django in earlier versions). The only response I got is: [23/Jan/2016 11:06:50]"GET /registration/wizard HTTP/1.1" 200 13729 and a blank page. No errors in browser or Ecli