This error appears if you accidentally pass a string to the url function.
I was trying to name my url and forgot it’s a kwarg.
url(r'^$', 'foo', 'this_is_invalid'),
Yuji's Increasingly Infrequent Ramblings
This error appears if you accidentally pass a string to the url function.
I was trying to name my url and forgot it’s a kwarg.
url(r'^$', 'foo', 'this_is_invalid'),
So clear, so simple. As a python newbie this post was incredibly helpful.
Thanks!
oh shit you are so great
Thank you very much.
you are awesome thanks!