Reputation: 381
AttributeError: module 'django.forms' has no attribute 'T'
The Django server stopped working after showing this error message. After fixing the problem, how can I let the server to run again. It is now stuck.
I know that running python manage.py runserver
is going to work. Is there a more convenient way?
Upvotes: 0
Views: 73
Reputation:
There are a few errors that runserver doesn't recover from. A lot it does recover from and as soon as a file is changed it will try again.
For the few that it can't: live with it - play some soothing music.
In PyCharm you can run the server within the IDE and restart it with one click when it's stuck. Otherwise, ctrl-c, arrow-up + enter is not going to wear out your keyboard or give you nerve damage.
Upvotes: 1