from django.conf.urls import include, url

from django.contrib import admin
admin.autodiscover()
from projectApp import views

urlpatterns = [
    url(r'^user/', include('userApp.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'^projects/', include('projectApp.urls')),
    url(r'^about', views.aboutPage),
    url(r'^$', views.homepage),
]

from django.conf.urls import include
from django.urls import path

from django.contrib import admin
admin.autodiscover()
from projectApp import views

urlpatterns = [
    path('user/', include('userApp.urls')),
    path('admin/', admin.site.urls),
    path('projects/', include('projectApp.urls')),
    path('about', views.aboutPage),
    path('', views.homepage),
]

Update url to use path in root urls.py