Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix a forgotten CharField that should have been changed to an integer…

…field.
  • Loading branch information...
commit 2a6b6e6f90bb166fe20cb4a96dad2b02a018b167 1 parent 4bd885a
Alex Gaynor alex authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  friends/models.py
2  friends/models.py
@@ -92,7 +92,7 @@ class FriendshipInvitationHistory(models.Model):
92 92 to_user = models.ForeignKey(User, related_name="invitations_to_history")
93 93 message = models.TextField()
94 94 sent = models.DateField(default=datetime.date.today)
95   - status = models.CharField(max_length=1, choices=INVITE_STATUS)
  95 + status = models.IntegerField(choices=INVITE_STATUS)
96 96
97 97
98 98 def delete_friendship(sender, instance, **kwargs):

0 comments on commit 2a6b6e6

Please sign in to comment.
Something went wrong with that request. Please try again.