Установил django-inplaceedit, в INSTALLED_APPS указал 'inplaceeditform'. Стал прописовать в urls.py:
url(r'^inplaceeditform/', include('inplaceeditform.urls'))
и получаю это: ImportError: No module named 'django.conf.urls.defaults
Я использую Django 1.10.5 and Python3.5
Как правильно сделать?
в settings.py:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app',
'inplaceeditform',
]
ADAPTOR_INPLACEEDIT_EDIT = 'my_app.perms.MyAdaptorEditInline'
INPLACEEDIT_DISABLE_CLICK = False
THUMBNAIL_DEBUG = True
INPLACEEDIT_EVENT = "click"
в urls.py:
from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'', include('app.urls')),
url(r'^app', include('app.urls')),
url(r'^inplaceeditform/', include('inplaceeditform.urls')),
]
Что я неправильно делаю?