My question was answered on Stackoverflow:
The correct line in the function should be
because of my project urls.py that I did not provide initially:
The correct line in the function should be
response = client.get('/wos_2017_2/')
because of my project urls.py that I did not provide initially:
urlpatterns = [
url(r'^wos_2017_2/', include('wos_2017_2.urls')),
url(r'^admin/', admin.site.urls),
]
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/16c0194c-b5df-406f-a447-0df904c5ae9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment