Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Class-based Views Classy Views CRUD Views

Why the task is not passing?

Hi! I am on 2nd step and it won't pass, saying 'Hmm, didn't find a correct template for ArticleCreate'. What have i done wrong?

My code:

<form method='POST' action=''> {% csrf_token %} {{ form.as_p }} <input type='submit' value='Submit'> </form>

2 Answers

Ryan S
Ryan S
27,276 Points

Hey Konstantin,

This was really frustrating to debug. Your code is fine, but apparently the challenge is really picky about the quote marks, specifically with the "type" attribute in the input element. If you surround "submit" with double quotes instead of single, it will pass. This must be a bug in the challenge, since it shouldn't matter what type of quotes you use.

Thak you!

didnt work for me