Hi.

I am seeing a regression in my site around search.

Previously, a URL ending with /search/?q=XYZ worked correctly, showing the 
pages which matched the provided term.

I am now seeing the below traceback, which raises a ValueError. This is not 
caught by the wrapping exception handler, and bubbles all the way up. 

Could it be that something has changed in the way get_model acts, where it 
now raises a ValueError instead of TypeError or LookupError?

Thanks for your help.

Nick.

   - File 
   "/home/nxf/Envsxyzt/lib/python3.3/site-packages/mezzanine/core/views.py", 
   line *117*, in search
   
   search_model = get_model(*request.GET.get("type", "").split(".", 1))
   
   - File 
   "/home/nxf/Envs/xyz/lib/python3.3/site-packages/mezzanine/utils/models.py", 
   line *35*, in get_model
   
   app_label, model_name = app_label.split('.')
   
   

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to