spacepaste

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