Created
September 28, 2012 21:19
-
-
Save robrocker7/3802134 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
# http://www.protectamerica.com/contact/affiliate-program/ | |
class Profile(models.Model): | |
PROFILE_STATUS = ( | |
('DECLINED', 'Declined'), | |
('APPROVED', 'Approved'), | |
('PENDING', 'Pending') | |
) | |
name = models.CharField(max_length=128) | |
title = models.CharField(max_length=128, blank=True, null=True) | |
company_name = models.CharField(max_length=128) | |
taxid = models.CharField(max_length=12) | |
street_address = models.CharField(max_length=128) | |
city = models.CharField(max_length=128) | |
state = models.CharField(max_length=128, choices=STATE_CHOICES) | |
zipcode = models.CharField(max_length=128) | |
phone = models.CharField(max_length=128) | |
fax = models.CharField(max_length=128, blank=True, null=True) | |
email = models.EmailField() | |
website = models.CharField(max_length=128) | |
comments = models.TextField(help_text='Please include background information about your company and how you feel that we can work together to achieve mutual success through our affiliate program.') | |
status = models.CharField(max_length=10, choices=PROFILE_STATUS, | |
default="PENDING") | |
agreed_to_terms = models.BooleanField(default=False) | |
sign = models.CharField(max_length=200) | |
affiliate = models.ForeignKey(Affiliate, blank=True, null=True) | |
date_created = models.DateTimeField(auto_now_add=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment