from twod.wsgi.embedded_wsgi import call_wsgi_app
from trac.web.main import dispatch_request as trac
def run_trac(request, path_info):
request.environ['trac.env_path'] = "path/to/trac/env"
return call_wsgi_app(trac, request, path_info)
'WSGIRequest' object has no attribute 'copy'
Indeed it seems that Django class WSGIRequest doesn't have a copy method (I use Djano 1.5.1).
Is that a bug or have I done something wrong ?
Thanks for this useful library !
--
You received this message because you are subscribed to the Google Groups "2degrees FLOSS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2degrees-flos...@googlegroups.com.
To post to this group, send email to 2degree...@googlegroups.com.
Visit this group at http://groups.google.com/group/2degrees-floss.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "2degrees FLOSS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2degrees-flos...@googlegroups.com.
To post to this group, send email to 2degree...@googlegroups.com.
Visit this group at http://groups.google.com/group/2degrees-floss.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "2degrees FLOSS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2degrees-flos...@googlegroups.com.
To post to this group, send email to 2degree...@googlegroups.com.
Visit this group at http://groups.google.com/group/2degrees-floss.
For more options, visit https://groups.google.com/groups/opt_out.