from django.conf.urls.defaults import *
from livesettings import config_value, config_get_group

config = config_get_group('PAYMENT_DUMB')

urlpatterns = patterns('',
    (r'^$', 'satchmo_payment_dumb.views.pay_ship_info',
        {'SSL':config.SSL.value}, 'DUMB_satchmo_checkout-step2'),
    (r'^confirm/$', 'satchmo_payment_dumb.views.confirm_info',
        {'SSL':config.SSL.value}, 'DUMB_satchmo_checkout-step3'),
    (r'^success/$', 'payment.views.checkout.success',
        {'SSL':config.SSL.value}, 'DUMB_satchmo_checkout-success'),
)

@@ -131,16 +131,99 @@
 T_DUMB')
+%0Amodule = config_value(config, 'MODULE').__name__%0Akey = config_value(config, 'KEY')
 %0A%0Aurlpat
@@ -256,36 +256,18 @@
 r'%5E$', '
+%25
 s
-atchmo_payment_dumb
 .views.p
@@ -275,24 +275,33 @@
 y_ship_info'
+ %25 module
 ,%0A        %7B'
@@ -317,36 +317,34 @@
 ig.SSL.value%7D, '
-DUMB
+%25s
 _satchmo_checkou
@@ -351,16 +351,22 @@
 t-step2'
+ %25 key
 ),%0A    (
@@ -385,28 +385,10 @@
 ', '
+%25
 s
-atchmo_payment_dumb
 .vie
@@ -403,16 +403,25 @@
 rm_info'
+ %25 module
 ,%0A      
@@ -441,36 +441,34 @@
 ig.SSL.value%7D, '
-DUMB
+%25s
 _satchmo_checkou
@@ -475,16 +475,22 @@
 t-step3'
+ %25 key
 ),%0A    (
@@ -573,20 +573,18 @@
 alue%7D, '
-DUMB
+%25s
 _satchmo
@@ -601,13 +601,19 @@
 success'
+ %25 key
 ),%0A)%0A

replace references to 'dumb' with config accesses