I’m on Module 9 Mapping URL’s to views and on storefront urls.py Mosh instructed us to construct urlpatterns like so : urlpatterns = [ path(‘admin’/’, admin.site.urls), path(‘playground/’, include(‘playground.urls’)),
Any help would be greatly appreciated
Hi @CodeisTed,
There is no error in your code. The issue is you are typing / as url but it doesn’t exist. You should hit admin/ instead of /.
Hi @ Zhmayed thanks for your reply. Um I’m not following you because I have “admin/“ not “admin/.” Can you please clarify this?
@Zhymayed it’s working correctly . Thanks for your input.
Instead of http://127.0.0.1:8000/ you have to go to http://127.0.0.1:8000/playground/hello/ and http://127.0.0.1:8000/admin/login/?next=/admin/