💩 -> 🚽
parent
6abc792e13
commit
5e7a7c5eaa
|
@ -252,12 +252,7 @@ LOGGING = {
|
||||||
"handlers": ["console"],
|
"handlers": ["console"],
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
"propagate": False,
|
"propagate": False,
|
||||||
},
|
}
|
||||||
"taiga.domains": {
|
|
||||||
"handlers": ["console"],
|
|
||||||
"level": "INFO",
|
|
||||||
"propagate": False,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,7 +271,6 @@ AUTHENTICATION_BACKENDS = (
|
||||||
)
|
)
|
||||||
|
|
||||||
ANONYMOUS_USER_ID = -1
|
ANONYMOUS_USER_ID = -1
|
||||||
GRAPPELLI_INDEX_DASHBOARD = "taiga.dashboard.CustomIndexDashboard"
|
|
||||||
|
|
||||||
MAX_SEARCH_RESULTS = 100
|
MAX_SEARCH_RESULTS = 100
|
||||||
|
|
||||||
|
|
|
@ -42,9 +42,6 @@ class RolePoints(models.Model):
|
||||||
verbose_name_plural = "role points"
|
verbose_name_plural = "role points"
|
||||||
unique_together = ("user_story", "role")
|
unique_together = ("user_story", "role")
|
||||||
ordering = ["user_story", "role"]
|
ordering = ["user_story", "role"]
|
||||||
permissions = (
|
|
||||||
("view_rolepoints", "Can view role points"),
|
|
||||||
)
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "{}: {}".format(self.role.name, self.points.name)
|
return "{}: {}".format(self.role.name, self.points.name)
|
||||||
|
@ -105,10 +102,6 @@ class UserStory(OCCModelMixin, WatchedModelMixin, BlockedMixin, TaggedMixin, mod
|
||||||
verbose_name = "user story"
|
verbose_name = "user story"
|
||||||
verbose_name_plural = "user stories"
|
verbose_name_plural = "user stories"
|
||||||
ordering = ["project", "backlog_order", "ref"]
|
ordering = ["project", "backlog_order", "ref"]
|
||||||
#unique_together = ("ref", "project")
|
|
||||||
permissions = (
|
|
||||||
("view_userstory", "Can view user story"),
|
|
||||||
)
|
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if not self._importing or not self.modified_date:
|
if not self._importing or not self.modified_date:
|
||||||
|
|
Loading…
Reference in New Issue