|
@ -51,7 +51,7 @@ class SubsAdmin(admin.ModelAdmin): |
|
|
profile = Profile.objects.for_user(sub.user) |
|
|
profile = Profile.objects.for_user(sub.user) |
|
|
profile.check_limit = 20 |
|
|
profile.check_limit = 20 |
|
|
profile.team_limit = 2 |
|
|
profile.team_limit = 2 |
|
|
profile.sms_limit = 0 |
|
|
|
|
|
|
|
|
profile.sms_limit = 5 |
|
|
profile.save() |
|
|
profile.save() |
|
|
|
|
|
|
|
|
self.message_user(request, "%d subscriptions cancelled" % qs.count()) |
|
|
self.message_user(request, "%d subscriptions cancelled" % qs.count()) |