Skip to content

Add a unicity constraint with a signal

I recently simplify the Django-like model. I let the old code commented has you can understand in which way we change it.

We succeed saving the like but we want to add a unicity contraint with a django signal. Who has already made it ? It's not clear for me.

@sylvain ? @jbpasquier ?

Edited by Alice Poggioli