Django1.11 - URLconf does not appear to have any patterns
<p>I'm a new user of django and i have some difficulties.
I follow a Django 1.8 tutorial and i have Django1.11. the problem is about urls.py files &amp; patterns</p>

<p>Here my code, blog/urls.py:</p>

<pre><code>from django.conf.urls import url
from . import views

urlpattern = [
   url(r'^accueil/$', views.home, name='home'),
]
</code></pre>

<p>first/urls.py:</p>

<pre><code>from django.conf.urls import url include

urlpattern = [
   url(r'^blog/', include('blog/urls')),
]
</code></pre>

<p>And when i use runserver command, it display :</p>

<pre><code>URLconf '&lt;module 'blog.urls'&gt;'does not appear to have any patterns in it
</code></pre>

<p>I read somewhere that patterns are removed since 1.10 and it's an old syntax now but i don't found the solution.</p>

<p>Any idea ? </p>

<p>Django 1.11 is not released. You should use the actual released version, 1.10. Also, you should use the actual tutorial for your version.</p>

<p>However, the problem is that both of your files should define <code>urlpatterns</code> with an s, not <code>urlpattern</code>.</p>

python django