Remove those monkey patches again
This commit is contained in:
parent
a890a146c7
commit
2453aa6024
1 changed files with 0 additions and 8 deletions
|
@ -17,7 +17,6 @@ class MonkeyPatchMiddleware(object):
|
|||
|
||||
def do_monkey_patch():
|
||||
patch_stripe_card_defaults()
|
||||
patch_registrasion_views()
|
||||
patch_conference_schedule()
|
||||
|
||||
# Remove this function from existence
|
||||
|
@ -40,13 +39,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
|
||||
from symposion.schedule import models as sm
|
||||
|
|
Loading…
Reference in a new issue