Open amusselm opened 9 years ago
in PHP there are functions for removing duplicate entries in an array. This seems to be an equivalent in Python: [(http://stackoverflow.com/questions/479897/how-to-remove-duplicates-from-python-list-and-keep-order)]
Yeah, a regex search of the database might be a better answer than trying to "debounce" user input. Users might be unaware a game exists in the database, so a "did you mean" screen if a similar title exists in the database might be worthwhile.
On Mon, Mar 14, 2016 at 3:12 AM, snoogans775 notifications@github.com wrote:
in PHP there are functions for removing duplicate entries in an array. This seems to be an equivalent in Python: [( http://stackoverflow.com/questions/479897/how-to-remove-duplicates-from-python-list-and-keep-order )]
— Reply to this email directly or view it on GitHub https://github.com/amusselm/rvgs_gamelist/issues/29#issuecomment-196238393 .
A user can accidentally click the "submit" button in some forms more than once in rapid succession, leading to duplicate enteries.
The system should have a means of de-dupulicating these. Or preventing this from happening in the first place.