Basic test structure in place, some authorization tests.

This commit is contained in:
Michael DeHaan
2013-03-19 18:33:01 -04:00
parent 23e685bba8
commit b95f4e0e13
3 changed files with 149 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ class Organizations(ExtendedModelResource):
queryset = models.Organization.objects.all()
resource_name = 'organizations'
#authentication = BasicAuthentication()
authentication = BasicAuthentication()
#authorization = AcomAuthorization()
authorization = OrganizationAuthorization()