Changeset c4282e2


Ignore:
Timestamp:
Jun 3, 2013, 5:57:56 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
9af1bb4
Parents:
cfde3dc
git-author:
Alex Dehnert <adehnert@…> (06/03/13 05:57:56)
git-committer:
Alex Dehnert <adehnert@…> (06/03/13 05:57:56)
Message:

Take is_active out of str(GroupStatus?) (ASA-#230)

It rarely seems desired.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/models.py

    r3935609 rc4282e2  
    505505
    506506    def __str__(self, ):
    507         active = ""
    508         if not self.is_active:
    509             active = " (inactive)"
    510         return "%s%s" % (self.name, active, )
     507        return self.name
    511508
    512509    class Meta:
Note: See TracChangeset for help on using the changeset viewer.