Hello, I've developed my application in the django developmental version and everything works. Here is my code view:
def traditional(request, styleid): request.method = 'POST' request.POST = {'style': styleid, 'color': '---------------'} return searchresult(request) //////////// However, now that I'm transferring my site to a production environment I get the following error: AttributeError at /search/5/ can't set attribute The error is referring to the 'request.method = 'POST' line. When I take that line out it works. However, I need to request.method to be POST when I call searchresult. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---