Hi Guys,
I have been trying to create custom search filters. I have an attribute 
called 'level' in my settings page in cms. I want level to be appearing in 
the Refine search catalog. 
I am getting an error in my settings page in cms. This is what the log says 
:

 response = view_func(request, *args, **kwargs)
  File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py",
 
line 45, in inner
    return func(request, *args, **kwargs)
  File 
"/edx/app/edxapp/edx-platform/common/djangoapps/util/json_request.py", line 
52, in parse_json_into_request
    return view_function(request, *args, **kwargs)
  File 
"/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", 
line 1005, in settings_handler
    course_details = CourseDetails.fetch(course_key)
  File 
"/edx/app/edxapp/edx-platform/openedx/core/djangoapps/models/course_details.py",
 
line 96, in fetch
    course_details.level = descriptor.level
AttributeError: 'CourseDescriptorWithMixins' object has no attribute 'level'



How can i resolve this issue?

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/5fc64efe-822e-44b5-8be3-284ce1f916ad%40googlegroups.com.

Reply via email to