Merge lp:~cjohnston/loco-team-portal/701115 into lp:loco-team-portal

Proposed by Chris Johnston
Status: Merged
Approved by: Martin Owens
Approved revision: 498
Merged at revision: 500
Proposed branch: lp:~cjohnston/loco-team-portal/701115
Merge into: lp:loco-team-portal
Diff against target: 12 lines (+1/-1)
1 file modified
loco_directory/teams/models.py (+1/-1)
To merge this branch: bzr merge lp:~cjohnston/loco-team-portal/701115
Reviewer Review Type Date Requested Status
Martin Owens (community) Approve
Review via email: mp+80568@code.launchpad.net

Commit message

Changes team name to null=False

To post a comment you must log in.
Revision history for this message
Martin Owens (doctormo) wrote :

Change is sane and while hard to test, is certain to work.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/teams/models.py'
2--- loco_directory/teams/models.py 2011-08-30 11:41:16 +0000
3+++ loco_directory/teams/models.py 2011-10-27 14:12:27 +0000
4@@ -83,7 +83,7 @@
5
6 class Team(models.Model, LocalTimeMixin):
7 lp_name = models.CharField(_("Launchpad Team ID"), max_length=40, null=True)
8- name = models.CharField(_("Team Name"), max_length=80, null=True)
9+ name = models.CharField(_("Team Name"), max_length=80, null=False, default='')
10 override_name = models.CharField(_("Override Imported Team Name"), max_length=80, null=True, blank=True)
11 countries = models.ManyToManyField(Country)
12 spr = models.CharField(_("State/Province/Region"), max_length=50, null=True, blank=True)

Subscribers

People subscribed via source and target branches