cannot import name force_text
- Dominant language
- JavaScript
- Stars
- 389
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
### setup
django 1.4
python 2.7.3
django-markdown==0.6.1
### problem
/lib/python2.7/site-packages/django_markdown/utils.py in , line 4 tries to call from django.utils.encoding which does not exist.
There is however a . using this seems to work at first glance.
please let me know if i can help out with any other info that might be usefull
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3563885-cannot-import-name-force_text?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with django_markdown/utils.py, especially its module-level import, and compare the referenced encoding API in Django 1.4. Reproduce the import using Python 2.7.3 and django-markdown 0.6.1; the issue is done when the package imports successfully without the missing-name error and the existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100