- Python 2.7.12 (default, Dec 4 2017, 14:50:18)
- [GCC 5.4.0 20160609] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- (InteractiveConsole)
- >>> import django_comments_xtd
- >>> from django_comments_xtd import urls
- Traceback (most recent call last):
- File "<console>", line 1, in <module>
- File "/home/replaceafill/dev/voting/venv-voting_v1/local/lib/python2.7/site-packages/django_comments_xtd/urls.py", line 3, in <module>
- from rest_framework.urlpatterns import format_suffix_patterns
- File "/home/replaceafill/dev/voting/venv-voting_v1/local/lib/python2.7/site-packages/rest_framework/urlpatterns.py", line 5, in <module>
- from rest_framework.compat import (
- File "/home/replaceafill/dev/voting/venv-voting_v1/local/lib/python2.7/site-packages/rest_framework/compat.py", line 21, in <module>
- from django.urls import ( # noqa
- ImportError: No module named urls
- >>>