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
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
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:
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
4 matches
Mail list logo