temporary hack for testing
authorJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 10:58:16 +0000 (12:58 +0200)
committerJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 10:58:16 +0000 (12:58 +0200)
src/catalogue/utils.py

index 9878a70..cd171a7 100644 (file)
@@ -358,4 +358,7 @@ def gallery_url(slug):
 
 
 def is_subscribed(user):
+    # do testowania
+    if user.username == 'paweld':
+        return True
     return user_is_subscribed(user)