Skip to content

Commit

Permalink
Make expiry blankable
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Feb 21, 2015
1 parent 9951cd2 commit e008d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pinax/referrals/models.py
Expand Up @@ -24,7 +24,7 @@ class Referral(models.Model):
)
label = models.CharField(max_length=100, blank=True)
code = models.CharField(max_length=40, unique=True)
expired_at = models.DateTimeField(null=True)
expired_at = models.DateTimeField(null=True, blank=True)
redirect_to = models.CharField(max_length=512)
target_content_type = models.ForeignKey(ContentType, null=True, blank=True)
target_object_id = models.PositiveIntegerField(null=True, blank=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -15,7 +15,7 @@ def read(*parts):
AUTHOR = "Pinax Team"
AUTHOR_EMAIL = "developers@pinaxproject.com"
URL = "http://github.com/pinax/pinax-referrals"
VERSION = "2.0.1"
VERSION = "2.0.2"


setup(
Expand Down

0 comments on commit e008d02

Please sign in to comment.