Choices as a callable.. but no parameters?

2015-04-20 Thread Steve Hiemstra
I am trying to build a form with dynamic choices. e.g., the choices should depend on the user. https://docs.djangoproject.com/en/1.8/ref/forms/fields/#choicefield Says choices may now be a callable, and sure enough it is called in ` django/forms/fields.py(818)` – but without any parameters. How

Re: LiveServerTestCase database has no tables...

2013-06-07 Thread Steve Hiemstra
Ignore the first sentence. That works because it creates a test MySQL database. Only when using the :memory: database does it fail. On Friday, June 7, 2013 3:17:29 PM UTC-4, Steve Hiemstra wrote: > > I've got a LiveServerTestCase and I'm not sure what's going on. I

LiveServerTestCase database has no tables...

2013-06-07 Thread Steve Hiemstra
I've got a LiveServerTestCase and I'm not sure what's going on. I have to include my normal database settings for it to work. It still writes to the memory test database, but all the other tests use the normal one which breaks things. In LiveServerTestCase.setUpClass I put the following:

OpenID for Django 1.5 & Python3.3

2013-02-16 Thread Steve Hiemstra
I decided to try setting up 1.5rc1 on Python3.3, just for fun. Now it seems like all the OpenID libraries are not yet on 3 - oops. Does anyone know of any? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and st