XCOM-416: Embargo restrictions are now enforced during logistration

This commit is contained in:
Nickersoft
2015-06-19 15:05:46 -04:00
parent 9a94c60147
commit e184c78c0a
6 changed files with 61 additions and 22 deletions

View File

@@ -52,3 +52,8 @@ if not hasattr(RequestFactory, 'patch'):
if not hasattr(Client, 'patch'):
setattr(Client, 'patch', client_patch)
def get_absolute_url(path):
""" Generate an absolute URL for a resource on the test server. """
return u'http://testserver/{}'.format(path.lstrip('/'))