Server keeps displaying error after I enter reverse() in forms.py then remove it
|Reported by:||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.2|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have my app, textbook. In my forms.py when I change this line:
ISBN = forms.CharField(label = "ISBN", max_length=20)
ISBN = forms.CharField(label = "ISBN", max_length=20,
help_text="<a href='%s'>My book doesn't have an ISBN.</a>" % (reverse('post_details')))
it raises the ImproperlyConfigured exception:
The included urlconf textbook.urls doesn't have any patterns in it.
The problem is that when I change the line back to how it was:
It still gives me the exception until I restart the server at which point it starts working again.