Created
August 1, 2014 13:09
-
-
Save fandrefh/4c1951328ba4783f9aa4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GetPayment(models.Model): | |
campaign = models.ForeignKey(Campaign, verbose_name=u'Campanha') | |
user_c = models.ForeignKey(User, verbose_name=u'Usuário', blank=True, null=True) | |
value = models.DecimalField(u'Valor R$', max_digits=15, decimal_places=2, help_text='Quanto quer sacar?') | |
request_date = models.DateTimeField(auto_now_add=True) | |
def __unicode__(self): | |
return self.campaign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment