Add location when subscribing

This commit is contained in:
Skia committed 2016-08-05 00:51:04 +02:00
1 parent 260a17ae4f
commit aa17c44bcc
4 files changed
+31 -2

No files matched your search

+2
View File
@@ -32,6 +32,8 @@ class Subscription(models.Model):
subscription_start = models.DateField(_('subscription start'))
subscription_end = models.DateField(_('subscription end'))
payment_method = models.CharField(_('payment method'), max_length=255, choices=settings.SITH_SUBSCRIPTION_PAYMENT_METHOD)
location = models.CharField(choices=settings.SITH_SUBSCRIPTION_LOCATIONS,
max_length=20, verbose_name=_('location'))
# TODO add location!
class Meta: