Adds dependency on registration-stripe
This commit is contained in:
parent
c04af6caa5
commit
da1ac265d2
3 changed files with 15 additions and 4 deletions
|
@ -156,6 +156,10 @@ INSTALLED_APPS = [
|
||||||
# Registrasion
|
# Registrasion
|
||||||
"registrasion",
|
"registrasion",
|
||||||
|
|
||||||
|
# Registrasion-stipe
|
||||||
|
"pinax.stripe",
|
||||||
|
"registripe",
|
||||||
|
|
||||||
#admin - required by registrasion ??
|
#admin - required by registrasion ??
|
||||||
"nested_admin",
|
"nested_admin",
|
||||||
|
|
||||||
|
@ -223,6 +227,9 @@ PROPOSAL_FORMS = {
|
||||||
PINAX_PAGES_HOOKSET = "pinaxcon.hooks.PinaxPagesHookSet"
|
PINAX_PAGES_HOOKSET = "pinaxcon.hooks.PinaxPagesHookSet"
|
||||||
PINAX_BOXES_HOOKSET = "pinaxcon.hooks.PinaxBoxesHookSet"
|
PINAX_BOXES_HOOKSET = "pinaxcon.hooks.PinaxBoxesHookSet"
|
||||||
|
|
||||||
|
PINAX_STRIPE_PUBLIC_KEY = os.environ.get("STRIPE_PUBLIC_KEY", "your test public key")
|
||||||
|
PINAX_STRIPE_SECRET_KEY = os.environ.get("STRIPE_SECRET_KEY", "your test secret key")
|
||||||
|
|
||||||
# Registrasion Attendee profile model
|
# Registrasion Attendee profile model
|
||||||
ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
|
ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
|
||||||
# Registrasion attendee profile form -- must act on ATTENDEE_PROFILE_FORM
|
# Registrasion attendee profile form -- must act on ATTENDEE_PROFILE_FORM
|
||||||
|
|
|
@ -24,13 +24,16 @@ urlpatterns = [
|
||||||
|
|
||||||
url(r"^teams/", include("symposion.teams.urls")),
|
url(r"^teams/", include("symposion.teams.urls")),
|
||||||
|
|
||||||
|
# Demo payment gateway and related features
|
||||||
|
url(r"^register/pinaxcon/", include("pinaxcon.registrasion.urls")),
|
||||||
|
|
||||||
|
# Demo payment gateway and related features
|
||||||
|
url(r"^register/payments/", include("registripe.urls")),
|
||||||
|
|
||||||
# Required by registrasion
|
# Required by registrasion
|
||||||
url(r'^register/', include('registrasion.urls')),
|
url(r'^register/', include('registrasion.urls')),
|
||||||
url(r'^nested_admin/', include('nested_admin.urls')),
|
url(r'^nested_admin/', include('nested_admin.urls')),
|
||||||
|
|
||||||
# Demo payment gateway and related features
|
|
||||||
url(r"^register/pinaxcon/", include("pinaxcon.registrasion.urls")),
|
|
||||||
|
|
||||||
url(r"^boxes/", include("pinax.boxes.urls")),
|
url(r"^boxes/", include("pinax.boxes.urls")),
|
||||||
|
|
||||||
# Catch-all MUST go last.
|
# Catch-all MUST go last.
|
||||||
|
|
|
@ -13,5 +13,6 @@ django-nose==1.4.3
|
||||||
coverage==4.0.3
|
coverage==4.0.3
|
||||||
|
|
||||||
# Registrasion
|
# Registrasion
|
||||||
registrasion==0.1.0
|
https://github.com/chrisjrn/registrasion/tarball/master#egg=registrasion
|
||||||
https://github.com/pinax/symposion/tarball/ad81810#egg=symposion
|
https://github.com/pinax/symposion/tarball/ad81810#egg=symposion
|
||||||
|
https://github.com/chrisjrn/registrasion-stripe/tarball/master#egg=registrasion-stripe
|
||||||
|
|
Loading…
Add table
Reference in a new issue