Commits

Allan Davis  committed 7cc9bc2

Adjusted Cause model for payment processing

  • Participants
  • Parent commits 8bf4384

Comments (0)

Files changed (1)

File pixels/models.py

 class Cause(models.Model):
     """ Charity that recives the donation    """
     name = models.CharField(max_length=100)
-    picture = models.CharField(max_length=100)
-    donation_url = models.URLField()
+    picture = models.CharField(max_length=100, null=True)
+    donation_account = models.EmailField()
     link_url = models.URLField()
     active_donation_target = models.BooleanField()
+    description = models.TextField(null = True)
     
     def __unicode__(self):
         return self.name