Django Deprecation Warning or ImproperlyConfigured error - Passing a 3-tuple to django.conf.urls.include() is not supported

As of Django 1.9, the old way of including the admin urls is deprecated. You should pass admin.site.urls directly to url(), without the call to include():

from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    ...
]

I struggled with this on my Macbook. I had a virtual environment activated with Django 2.0 installed. But django-admin was still pointing to a system level install from an old version of django. My solution was to uninstall the system level django. After that, django-admin was pointing to the newer virtualenv version.