summaryrefslogtreecommitdiff
path: root/payments
diff options
context:
space:
mode:
authorAdam Bogdał <adam@bogdal.pl>2015-08-25 11:39:23 +0200
committerAdam Bogdał <adam@bogdal.pl>2015-08-25 11:39:23 +0200
commit7c7dda1cb62955c0de8b7863e551b7662d4d0aeb (patch)
tree4f00cbee7d8db8b77f0b513233e4735e12602cf4 /payments
parent3fd918c765e520e1905359e3db3a2d5a686b6ecd (diff)
downloaddjango-payments-taler-7c7dda1cb62955c0de8b7863e551b7662d4d0aeb.tar.gz
django-payments-taler-7c7dda1cb62955c0de8b7863e551b7662d4d0aeb.tar.bz2
django-payments-taler-7c7dda1cb62955c0de8b7863e551b7662d4d0aeb.zip
Add required field attribute
Diffstat (limited to 'payments')
-rw-r--r--payments/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/payments/models.py b/payments/models.py
index abaa9d9..a20ea36 100644
--- a/payments/models.py
+++ b/payments/models.py
@@ -84,7 +84,7 @@ class BasePayment(models.Model):
billing_country_code = models.CharField(max_length=2, blank=True)
billing_country_area = models.CharField(max_length=256, blank=True)
billing_email = models.EmailField(blank=True)
- customer_ip_address = models.GenericIPAddressField(blank=True)
+ customer_ip_address = models.GenericIPAddressField(blank=True, null=True)
extra_data = models.TextField(blank=True, default='')
message = models.TextField(blank=True, default='')
token = models.CharField(max_length=36, blank=True, default='')