pypi package has empty modules
Closed this issue · 1 comments
daverickdunn commented
Hi guys,
It appears that the package on pypi has at least one empty module (my colleague reckons there were some others as well):
lib/python3.5/site-packages/django_freeradius/urls.py
Resulting in the error:
django.core.exceptions.ImproperlyConfigured:
The included URLconf '<module 'django_freeradius.urls' from '/home/richard/.virtualenvs/panos-rest/lib/python3.5/site-packages/django_freeradius/urls.py'>' does not appear to have any patterns in it.
If you see valid patterns in the file then the issue is probably caused by a circular import.
Installing the package from https://github.com/openwisp/django-freeradius/tarball/master
everything works as expected and results in the module having the expected lines:
from django.conf.urls import include, url
from .api import urls as api
urlpatterns = [
url(r'^api/', include(api)),
]
daverickdunn commented
Lol, sorry. Wrong package!