-3
TypeError: view must be a callable or a list/tuple in the case of include().
URLsTypeError:. Вид должен быть вызываемым или список/кортеж в случае включают() чч
from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^$',"newhomaa.views.home", name='home'),
url(r'^admin/', include(admin.site.urls)),
просмотров
from django.shortcuts import render
def home(request):
return render(request,"home.html",{})
INSTALLED_APPS
= [
'newhomaa',
Мне так нужно lv my Задача
Посмотрите здесь http://stackoverflow.com/questions/38744285/django-urls-error-view-must-be-a-callable-or-a-list-tuple-in-the-case-of-includ – neverwalkaloner
Я знаю, но я не знаю, что он хочет –