• Mathieu Bridon's avatar
    participate: Use a custom model · cfaa11ed
    Mathieu Bridon authored
    The way we were keeping the document id completely broke down with a
    recent change in Ideascube:
    
        ideascube!905
    
    In addition, this was wrong anyway, because we were using a custom
    form to keep the attribute when creating the message, but not when
    editing it. And publishing a message means editing it, so de facto those
    attributes were all always lost.
    
    So we need a custom model, to keep track of the linked media. This
    should probably be an N-to-N relationship directly in Ideascube, but
    this is not the time.
    
    This also makes the cleaning command much nicer!
    cfaa11ed
Name
Last commit
Last update
..
conf Loading commit data...
locale Loading commit data...
management/commands Loading commit data...
migrations Loading commit data...
templates Loading commit data...
__init__.py Loading commit data...
context_processors.py Loading commit data...
forms.py Loading commit data...
models.py Loading commit data...
settings.py Loading commit data...
urls.py Loading commit data...
views.py Loading commit data...
wsgi.py Loading commit data...