1👍
You should put the account.urls
in quotes. Also remove the $
sign from the regex:
url(r'^', include('account.urls')),
And in the account/urls.py
file you should correct the base module name from oauth
to the acount
(your view is account.views.login_user
, not the oauth.views.login_user
):
urlpatterns = patterns('account.views',
....
)
Source:stackexchange.com