Re: ViewDoesNotExist at /admin/
Hi Russel
I have the same problem but I cannot figure out how to fix it !!! In local the app was perfect... in deploy I had this message :
Here the traceback
Environment:
Request Method: GET
Request URL: http://www.gabryandjenny.com/admin/
Django Version: 1.5.4
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.sitemaps',
'modeltranslation',
'gabryandjennyApp',
'south',
'mptt',
'feincms',
'tinymce')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" in wrapper
219. return self.admin_view(view, cacheable)(*args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in _wrapped_view
91. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" in _wrapped_view_func
89. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" in inner
198. current_app=self.name):
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in reverse
467. app_list = resolver.app_dict[ns]
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in app_dict
311. self._populate()
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in _populate
274. for name in pattern.reverse_dict:
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in reverse_dict
297. self._populate()
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in _populate
286. lookups.appendlist(pattern.callback, (bits, p_pattern, pattern.default_args))
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in callback
230. self._callback = get_callable(self._callback_str)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/functional.py" in wrapper
31. result = func(*args)
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in get_callable
104. (lookup_view, mod_name))
Exception Type: ViewDoesNotExist at /admin/
Exception Value: Could not import django.views.generic.list_detail.object_list. Parent module django.views.generic.list_detail does not exist.
Do you have any suggestions?
Thanks
Gabri
-- I have the same problem but I cannot figure out how to fix it !!! In local the app was perfect... in deploy I had this message :
ViewDoesNotExist at /admin/
Could not import django.views.generic.list_detail.object_list. Parent module django.views.generic.list_detail does not exist.
Request Method: | GET |
---|---|
Request URL: | http://www.gabryandjenny.com/admin/ |
Django Version: | 1.5.4 |
Exception Type: | ViewDoesNotExist |
Exception Value: | Could not import django.views.generic.list_detail.object_list. Parent module django.views.generic.list_detail does not exist. |
Exception Location: | /usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py in get_callable, line 104 |
Python Executable: | /usr/languages/python/2.6/bin/python |
Python Version: | 2.6.6 |
Python Path: | ['/home/alessandrocambogia', '/home/alessandrocambogia/gabryandjenny', '/home/alessandrocambogia/gabryandjenny/public', '/usr/local/lib/python2.6/site-packages/pip-0.4-py2.6.egg', '/usr/local/lib/python2.6/site-packages/Paste-1.6-py2.6.egg', '/usr/local/lib/python2.6/site-packages/trac-0.10.5-py2.6.egg', '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/site-packages/lamson-1.0-py2.6.egg', '/usr/local/lib/python2.6/site-packages/python_daemon-1.5.5-py2.6.egg', '/usr/local/lib/python2.6/site-packages/mock-0.7.0b2-py2.6.egg', '/usr/local/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg', '/home/alessandrocambogia/gabryandjenny/public', '/usr/local/alwaysdata/python/django/1.5.4', '/usr/languages/python/2.6/lib/python26.zip', '/usr/languages/python/2.6/lib/python2.6', '/usr/languages/python/2.6/lib/python2.6/plat-linux2', '/usr/languages/python/2.6/lib/python2.6/lib-tk', '/usr/languages/python/2.6/lib/python2.6/lib-old', '/usr/languages/python/2.6/lib/python2.6/lib-dynload', '/usr/languages/python/2.6/lib/python2.6/site-packages', '/usr/local/lib/python2.6/site-packages', '/usr/local/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages', '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/', '/home/alessandrocambogia/gabryandjenny/gabryandjennyProject/'] |
Server time: | Sat, 21 Dec 2013 06:15:16 -0600 |
Here the traceback
Environment:
Request Method: GET
Request URL: http://www.gabryandjenny.com/admin/
Django Version: 1.5.4
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.sitemaps',
'modeltranslation',
'gabryandjennyApp',
'south',
'mptt',
'feincms',
'tinymce')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" in wrapper
219. return self.admin_view(view, cacheable)(*args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/decorators.py" in _wrapped_view
91. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/views/decorators/cache.py" in _wrapped_view_func
89. response = view_func(request, *args, **kwargs)
File "/usr/local/alwaysdata/python/django/1.5.4/django/contrib/admin/sites.py" in inner
198. current_app=self.name):
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in reverse
467. app_list = resolver.app_dict[ns]
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in app_dict
311. self._populate()
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in _populate
274. for name in pattern.reverse_dict:
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in reverse_dict
297. self._populate()
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in _populate
286. lookups.appendlist(pattern.callback, (bits, p_pattern, pattern.default_args))
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in callback
230. self._callback = get_callable(self._callback_str)
File "/usr/local/alwaysdata/python/django/1.5.4/django/utils/functional.py" in wrapper
31. result = func(*args)
File "/usr/local/alwaysdata/python/django/1.5.4/django/core/urlresolvers.py" in get_callable
104. (lookup_view, mod_name))
Exception Type: ViewDoesNotExist at /admin/
Exception Value: Could not import django.views.generic.list_detail.object_list. Parent module django.views.generic.list_detail does not exist.
Do you have any suggestions?
Thanks
Gabri
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a187ee9f-16b3-4e88-89c8-db65a6363846%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home