No module named defaults #14

Open
opened 2014-11-02 12:39:02 -08:00 by mathiasleroy · 1 comment
mathiasleroy commented 2014-11-02 12:39:02 -08:00 (Migrated from github.com)

Error with django 1.7 :
(Maybe this is the solution?: from django.conf.urls import patterns, include, url)

Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.7.1
Exception Type: ImportError
Exception Value:
No module named defaults
Exception Location: /usr/local/lib/python2.7/dist-packages/twython_django_oauth/urls.py in , line 1
Python Executable: /usr/bin/python
Python Version: 2.7.3

Error with django 1.7 : (Maybe this is the solution?: from django.conf.urls import patterns, include, url) Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 1.7.1 Exception Type: ImportError Exception Value: No module named defaults Exception Location: /usr/local/lib/python2.7/dist-packages/twython_django_oauth/urls.py in <module>, line 1 Python Executable: /usr/bin/python Python Version: 2.7.3
abhijitnavale commented 2015-04-10 01:11:13 -07:00 (Migrated from github.com)

Manually edit the urls.py file of twython package and change ,
from django.conf.urls.defaults to,
from django.conf.urls

Manually edit the urls.py file of twython package and change , from django.conf.urls.defaults to, from django.conf.urls
This repository is archived. You cannot comment on issues.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython-django#14
No description provided.