I have this old site that was originally pre magic and got ported up 0.96
where it still is and now have to make some alterations, this is a clone
site to do something different but the same BUT on getting to the
subsubcategory level (sorry my naming conventions back then really sucked) I
am getting, which is weird because the code is the same as the original site
that is working down to subsub level.... UH?

        'dict' object has no attribute 'META'

Exception Location:     /var/www/django/eco/django/core/context_processors.py
in debug, line 34


Traceback

Traceback Switch to copy-and-paste view

    /var/www/django/eco/django/core/handlers/base.py in get_response
        response = callback(request, *callback_args, **callback_kwargs) ...
    ▶ Local vars
    /var/www/django/project/kitchens_bathrooms/views.py in subsub_cat
        return render_to_response('kitchens_bathrooms/subsub.html',
RequestContext({'products':products,'banner':current_subsub_cat.get_banner(),
'resource': current_subsub_cat.get_resource(), 'sub_cats': master_sub_cats,
'sub_cat':current_sub_cat,'masters':masters,'master':current_master,'subsub_cats':master_subsub_cats,
'subsub_cat':current_subsub_cat,'urlswitch':
urlswitch,'brand_link':brand_link, 'brand_id':brand_id})) ...
    ▶ Local vars
    /var/www/django/eco/django/template/context.py in __init__
        self.update(processor(request)) ...
    ▶ Local vars
    /var/www/django/eco/django/core/context_processors.py in debug
        if settings.DEBUG and request.META.get('REMOTE_ADDR') in
settings.INTERNAL_IPS: ...
    ▶ Local vars 

There is no GET or POST data 
HTTP_REFERER    
'http://domain/kitchens_bathrooms/water-saving-taps/water-saving-basin-taps/'
PATH_INFO       
'/kitchens_bathrooms/water-saving-taps/water-saving-basin-taps/mono-basin-taps/'

Anyone have any ideas please because I am just going round in ever
decreasing circles??

Yeah I know port it to latest version and sort out the naming and also dont
use slug to navigate the urls but........ you all know how it is


-- 
View this message in context: 
http://old.nabble.com/%27dict%27-object-has-no-attribute-%27META%27-tp32288508p32288508.html
Sent from the django-users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to