[newmaint-site] Clearing data for a data source / contribution type
bardelli.marco at gmail.com
Tue Apr 1 01:07:56 UTC 2014
Enrico Zini <enrico at enricozini.org> writes:
> given that right now there is no way to entirely remove contribution
> data for a user when posting a new submission, it would be convenient
> for people setting up a new data source to be able to clear all data and
> start from scratch, so that they are free to do some trial and error
> getting used to how things work.
> The idea would be to add a "Delete all data for this source" button to
> and also one for each contribution type at the bottom (next to
> Edit/Delete links).
> Any takers?
I propose this patch:
i left commented out some "excessive stuff" in get_context_data that
enumerate contributions during confirmation step.
Still missing unit tests, i need some overview to figure out me
"inspired such as" Enrico and start something like test_common.py also in
nm.debian.org, i'll try.
Also this fix a cut-and-paste typo.
GPG key: 4096R/0xF7FE4DAA 2013-08-02 Marco Bardelli <bardelli.marco at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 818 bytes
Desc: not available
More information about the newmaint-site