You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got error after fresh installation of the test_project.
pip install -r requirements.txt
assign MEDIA_URL and MEDIA_ROOT dir.
run migrate
create superuser
try to add first album
Internal Server Error: /admin/imagestore/album/add/
Traceback (most recent call last):
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 541, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 244, in inner
return view(request, *args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1437, in add_view
return self.changeform_view(request, None, form_url, extra_context)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/utils/decorators.py", line 67, in _wrapper
return bound_func(*args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/utils/decorators.py", line 63, in bound_func
return func.__get__(self, type(self))(*args2, **kwargs2)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/utils/decorators.py", line 184, in inner
return func(*args, **kwargs)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1393, in changeform_view
formsets, inline_instances = self._create_formsets(request, form.instance, change=False)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1726, in _create_formsets
'queryset': inline.get_queryset(request),
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1877, in get_queryset
queryset = super(InlineModelAdmin, self).get_queryset(request)
File "/home/ramast/Desktop/sc/imagestore/test/testproject/env/lib/python2.7/site-packages/django/contrib/admin/options.py", line 321, in get_queryset
qs = self.model._default_manager.get_queryset()
AttributeError: type object 'Image' has no attribute '_default_manager'
The text was updated successfully, but these errors were encountered:
Got error after fresh installation of the test_project.
MEDIA_URL
andMEDIA_ROOT
dir.The text was updated successfully, but these errors were encountered: