Just updated django-postman

Issue #21 resolved
Former user created an issue

and I'm getting this error:

Traceback: File "/Users/nicklang/.virtualenvs/leadville/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 89. response = middleware_method(request) File "/Users/nicklang/.virtualenvs/leadville/lib/python2.7/site-packages/django/utils/importlib.py" in import_module 35. import(name) File "/Users/nicklang/.virtualenvs/leadville/src/leadville/autoroute/urls.py" in <module> 13. from postman.views import write File "/Users/nicklang/.virtualenvs/leadville/src/django-postman/postman/views.py" in <module> 23. from postman.fields import autocompleter_app File "/Users/nicklang/.virtualenvs/leadville/src/django-postman/postman/fields.py" in <module> 110. autocompleter_app['version'] = getattr(import(app_name, globals(), locals(), ['version']), 'version', None)

Exception Type: TypeError at / Exception Value: Item in ``from list'' not a string

Comments (4)

  1. Patrick Samson repo owner
    • changed status to open

    What is your settings.POSTMAN_AUTOCOMPLETER_APP ? Check that this app is visible from the python path, and has a init.py file with a version attribute definition inside.

  2. Log in to comment