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 trialoliverchou
20,886 PointsReversing by dotted path is deprecated
when I run the tests in the video, this is what I get:
treehouse:~/workspace/learning_site$ python manage.py test
Creating test database for alias 'default'...
./usr/local/lib/python3.6/site-packages/django/template/defaulttags.py:507: RemovedInDjango110Warning: Reversing by dotted
path is deprecated (learning_site.views.hello_world).
current_app=current_app)
...
----------------------------------------------------------------------
Ran 4 tests in 0.064s
OK
Destroying test database for alias 'default'...
Any idea why it is showing this warning: Reversing by dotted path is deprecated? And how should I deal with it?
1 Answer
Jeff Muday
Treehouse Moderator 28,720 PointsCheck out this post:
https://teamtreehouse.com/community/django-reverse-function-deprecated
and here are the docs on the change (note-- Django 2.0)