Changeset - 6ee11694e2ce
[Not reviewed]
0 1 0
Christopher Neugebauer - 3 years ago 2018-10-31 21:36:41
chrisjrn@gmail.com
Revert "Update monkey_patch.py"

This reverts commit fb55f88cc74ebb3135ba0b7323cc036ef4e88311.
1 file changed with 0 insertions and 10 deletions:
0 comments (0 inline, 0 general)
pinaxcon/monkey_patch.py
Show inline comments
 
from django.conf import settings
 
from django.contrib.auth.models import User
 
from django.core.mail import EmailMultiAlternatives
 

	
 

	
 
from functools import wraps
 

	
 

	
...
 
@@ -15,7 +13,6 @@ class MonkeyPatchMiddleware(object):
 

	
 
def do_monkey_patch():
 
    patch_stripe_card_defaults()
 
    patch_registrasion_views()
 
    patch_conference_schedule()
 

	
 
    # Remove this function from existence
...
 
@@ -37,13 +34,6 @@ def patch_stripe_card_defaults():
 

	
 
    sources.sync_card = sync_card
 

	
 
    
 
def patch_registrasion_views():
 
    from registrasion import views as registrasion_views
 
    from django.views.decorators.csrf import csrf_exempt
 

	
 
    registrasion_views.invoice_mailout = csrf_exempt(registrasion_views.invoice_mailout)
 
    
 

	
 
def patch_conference_schedule():
 
    from symposion.schedule import views as sv
0 comments (0 inline, 0 general)