rerouted AuthBackend, changed bootstrap colors

This commit is contained in:
Arthur Gerbaud
2016-08-17 20:20:06 +02:00
parent 7694c4ea7a
commit 6e9a76696e
16 changed files with 259 additions and 227 deletions

View File

@@ -22,12 +22,4 @@ class Observation(Note):
def note_bg_colors(self): return ("info", "info")
class Signalement(Note):
source = models.CharField('Source', max_length=128)
def note_labels(self): return [self.source]
def note_bg_colors(self): return ('warning', 'alert')