django-simple-autocomplete
django-simple-autocomplete copied to clipboard
can not set url in urlpatterns
the error information when i set url in urlpatterns:
File "C:\scripts\autoliv-china-test-management-system\testServiceShop\urls.py", line 49, in <module>
url(r'^simple-autocomplete/', include('simple_autocomplete.urls', namespace='simple_autocomplete')),
File "C:\my_env_python\django\lib\site-packages\django\urls\conf.py", line 39, in include
'Specifying a namespace in include() without providing an app_name '
django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.