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 Customizing Django Templates Building Custom Tags DIY Custom Tags

Customizing Django Templates-DIY Custom Tags video, getting error: " 'course_extras' is not a registered tag library.."

I'm getting this error:

Exception Value:
'course_extras' is not a registered tag library. Must be one of: admin_list admin_modify admin_static admin_urls cache humanize i18n l10n log static staticfiles tz

I saw a similar question posted and it seems to have been solved by restarting the server, but it doesn't seem to do anything for me. Any suggestions??

1 Answer

Nikolay Nogin
Nikolay Nogin
22,154 Points

Had the same error, spent 2 hours. And I found that I was printing out the newest_course, instead of executing it.

### It worked
<p>Don't miss our latest course, {% newest_course %}</p>
### It wasn't
<p>Don't miss our latest course, {{ newest_course }}</p>