Django ViewDoesNotExist error
版本问题
I'm using Django 1.5.1. Everything was OK. But as soon as I installed django-photologue through pip I face this error when I visit admin url:
Also when I run syncdb, photologue sync with database without any error and I can import it in shell. Any idea about how can I solve this error? |
|
django-photologue was most likely built for an older version of Django. Looks like the newer version of Django isn't friendly with generic views and prefers class based views instead. Downloading a fresh copy of Whereas Simply put, the newer version of Django removed the |
|
to replace the file in the directory urls.py photologue :
like this :) |