Задать вопрос

Тел: +7 965 3737 888

576

Просмотров

2

Ответов

Debug data for forms

I sometimes find that larger forms need data associated with them, but it's a bit of a pain to retype it each time when I'm debugging. The DebugForm base class lets you specify sets of testing data that will be inserted into your form if your project is in debug mode, randomly chosen from the DEBUG_DATA dict.

Вопрос полезен? Да0/Нет0
file_2388.py(637.0б)
None

Ответы (2):

Ответgirasquid:13.11.2009
Ответ полезен? Да0/Нет0

And I'll have to take a look at Molybdenum :)

Ответjsandell:13.05.2009
Ответ полезен? Да0/Нет0

Haven't tried it out, but that looks pretty cool. I've always just filled the form out once, recorded it with Molybdenum, and then "replayed" the form each time there after.

I'll definitely have to give this a whirl. :D