Added to profile template

This commit is contained in:
2011-07-28 14:56:56 +01:00
parent 230724c11f
commit d85b24d09f
2 changed files with 3 additions and 0 deletions

View File

@@ -294,6 +294,7 @@ def primarychar_change(request):
def toggle_reddit_tagging(request):
profile = request.user.get_profile()
profile.tag_reddit_accounts = not profile.tag_reddit_accounts
profile.save()
if profile.tag_reddit_accounts:
tag = 'Enabled'
else: