V
V
Voldemar Duletsky2012-11-21 14:48:30
Django
Voldemar Duletsky, 2012-11-21 14:48:30

Debugging a controller with given parameters in Django

There is a non-standard ajax form that submits data.

To check the correctness of saving the data, I need to open the form every time and trace the necessary variables through the debugger (PyCharm).

Is it possible in the django console or else to save the application context and run it several times with the same parameters automatically?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2012-11-21
@un1t

For such tasks, automatic tests are especially relevant
docs.djangoproject.com/en/dev/topics/testing/?from=olddocs The
pdb console debugger can also be useful in this matter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question