Commit d58fd2f0 by Piotr Mitros

Fixed bug/typo; had missed this before because I was testing pip version of some files.

parent d587cd94
......@@ -249,13 +249,13 @@ class transform_embed(object):
return "Secure ["+self._transform_policy['name']+"]:"+self._embed.__repr__()
def get_embed(t, config = None):
if config: # untested code path
if config:
embeds = []
for embed_spec in config:
print embed_spec
embeds.append(single_embed(t, **embed_spec))
print "Multi"
return multi_embed(embeds)
print "Single"
return single_embed(t)
class djobject():
......
......@@ -75,7 +75,7 @@ def handle_query(request, name, **kwargs):
global query_object
if query_object is None:
from util import get_query
view_object = get_query(None)
query_object = get_query(None)
if name[0] == '_':
raise SuspiciousOperation(name+' called')
kwargs.update(request.POST.items())
......
......@@ -4,7 +4,7 @@
import datetime
DJOBJECT_CONFIG = [{}, {'baseurl' : 'http://127.0.0.1:9022/'}]
# DJOBJECT_CONFIG = [{}, {'baseurl' : 'http://127.0.0.1:9022/'}]
DJ_REQUIRED_APPS = ( 'djeventstream.httphandler',
'djcelery',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment