First View

2018-05-21 Thread Tristan Demot
Hello, I use tutorial 1.11 beaumarche (startproject) from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^boutique/', include('boutique.urls')) , url(r'^admin/', admin.site.urls), ] boutique (app) urls.py from django.conf.urls import

ImportError : cannot import name include

2018-05-17 Thread Tristan Demot
Hello, I use docs.djangoproject.co/en/2.0 Python 2 7 13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want to see something, ask me Many thanks --