django-ping
django-ping copied to clipboard
Fail to start server
Hi, thanks for this lib! Would be glad to use it, but it fails with this exception
File "/vagrant/myporj/urls.py", line 43, in <module>
url(r'^ping/', include('ping.urls')),
File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 52, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/lib/python2.7/dist-packages/ping/urls.py", line 1, in <module>
from django.conf.urls.defaults import patterns, include, url
ImportError: No module named defaults
My setup is Ubuntu 12.04.5 LTS, Python 2.7, Django 1.9.4. I think it is incompatible with the latest django, can we fix it? Please help!
I noticed this release does work:
pip install -e git+https://github.com/rizumu/django-ping.git@rizumu#egg=django_ping-0.3b1
@gpennington : could you merge that branch and release it as 0.3 on PyPI? That would make everyones life easier :)