Good point about offering the changes back through github. Until I get that set up, here's an inline diff of my changes for your consideration:
-- a/paypal/pro/models.py
+++ b/paypal/pro/models.py
@@ -2,9 +2,13 @@
# -*- coding: utf-8 -*-
from string import split as L
from django.db import models
+from django.conf import settings
from django.utils.http import urlencode
from django.forms.models import model_to_dict
-from django.contrib.auth.models import User
+if getattr(settings, 'PAYPAL_USER_MODEL', None):
+ User = models.get_model(*settings.PAYPAL_USER_MODEL.rsplit('.', 1))
+else:
+ from django.contrib.auth.models import User