Skip to content
Browse files

fixed more permission errors

  • Loading branch information...
1 parent 584ea83 commit ae608aeb98475ac08151268957bfae8ae93b9689 @JeffHeard JeffHeard committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 models.py
View
4 models.py
@@ -5,6 +5,7 @@
from ga_resources.models import PagePermissionsMixin
from mezzanine.core.models import Ownable
from mezzanine.generic.fields import CommentsField
+from mezzanine.conf import settings as s
# from dublincore.models import QualifiedDublinCoreElement
def get_user(request):
@@ -152,10 +153,7 @@ def can_change(self, request):
def can_view(self, request):
- print "can view called"
user = get_user(request)
- print "username: {user}".format(user=user.username)
- print "is public: {public}".format(public=self.public)
ret = True
if self.public:

0 comments on commit ae608ae

Please sign in to comment.
Something went wrong with that request. Please try again.