from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth.views import login

from movies.urls import urlpatterns as movie_urls

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

from django.conf.urls import include, url
from django.contrib import admin

from movies.urls import urlpatterns as movie_urls

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

Include is still needed for the url patterns