By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

IndentationError: unexpected indent

P: 2
File "/home/edp/djangogirls/blog/urls.py", line 17, in <module>
from . import views
File "/home/edp/djangogirls/blog/views.py", line 8
return render(request, 'blog/post_detail.html',{'posts': post})
Oct 24 '17 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,359
Without the code that's referenced in the error message, there's nothing I can do except repeat the error message back at you: Your indentation is wrong around near that block of code.
Oct 24 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.