diff --git a/dusken/api/member.py b/dusken/api/member.py index 40f3a3b..472867b 100644 --- a/dusken/api/member.py +++ b/dusken/api/member.py @@ -166,7 +166,7 @@ class MemberCreateResource(ModelResource): default_format = "application/json" queryset = Member.objects.all() authentication = OAuth20Authentication() # Who are you? - authorization = MyDjangoAuthorization() # What are you allowed to do? + authorization = Authorization() # What are you allowed to do? always_return_data = True excludes = [ 'date_joined', 'password', 'is_active', 'is_staff', 'is_superuser', 'last_login' ] validation = CleanedDataFormValidation(form_class=MemberCreateForm) diff --git a/dusken/tests/__init__.py b/dusken/tests/__init__.py index 931d7b9..bdedc82 100644 --- a/dusken/tests/__init__.py +++ b/dusken/tests/__init__.py @@ -1,3 +1,3 @@ -from member import * -from group import * -from membership import * \ No newline at end of file +from test_member import * +from test_group import * +from test_membership import * diff --git a/dusken/tests/group.py b/dusken/tests/test_group.py similarity index 100% rename from dusken/tests/group.py rename to dusken/tests/test_group.py diff --git a/dusken/tests/member.py b/dusken/tests/test_member.py similarity index 100% rename from dusken/tests/member.py rename to dusken/tests/test_member.py diff --git a/dusken/tests/membership.py b/dusken/tests/test_membership.py similarity index 100% rename from dusken/tests/membership.py rename to dusken/tests/test_membership.py diff --git a/requirements.txt b/requirements.txt index 4dcd8f5..66521f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,9 @@ -Django==1.5.4 +Django==1.6.1 django-cors-headers==0.12 django-extensions==1.2.2 django-oauth2-provider==0.2.6 django-sphinxdoc==1.2.0 -django-tastypie==0.10.0 +django-tastypie==0.11.0 psycopg2==2.5.1 -python-mimeparse==0.1.4 South==0.8.2 sphinxcontrib-httpdomain==1.1.9