After uncommenting this line
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
I am getting template error.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This error is probably related to your os’ locale settings.
Issue the
localecommand in your terminal – you should get something like below as a output:If you will get something like this:
then you need to set it up like that:
reload your terminal and try once again.
If this will solve your issue, then just add it to your
.bash_profilefile, so that it will load automatically when logging in.