Commit Graph
11 Commits
Author SHA1 Message Date
Dustin Pianalto 7d3d7104d9 Modify user serializer update to have expected behavior
Updates should add to many to many relationships not set them.
2019-12-14 02:45:15 -09:00
Dustin Pianalto 20926dcdf9 Return instance from update in user_serializer 2019-12-14 02:05:47 -09:00
Dustin Pianalto 6cc0aabb5a Fix bug where previous_usernames or previous_discriminators is empty 2019-12-14 01:58:26 -09:00
Dustin Pianalto 151a705b8d Add update method to user serializer
We need to append the current username to previous_usernames
if the one we are updating to is different. Same with discrim.
2019-12-14 01:02:10 -09:00
Dustin Pianalto 2bcedcf7b8 Update user serializer to remove fields no longer in db 2019-12-14 00:45:50 -09:00
Dustin Pianalto 5b8d679a35 Update user model to remove unnecessary fields 2019-12-14 00:16:53 -09:00
Dustin Pianalto ff4db465ee Fix regex for username validator
\X doesn't work in Python so I use the .
2019-12-13 23:37:37 -09:00
Dustin Pianalto e871c93b4e Add custom validator for usernames
The default validator doesn't match every character that discord
allows in usernames. I just allow all characters.
2019-12-13 23:26:23 -09:00
Geeksbot 5fef17104d Make changes to configure for running on ec2 instance 2019-12-12 07:45:41 +00:00
Dustin Pianalto 0caeba5cbd Initial Commit importing code from old repo and making changes so it is standalone 2019-12-11 10:34:25 -09:00
Dusty.P 953e048d44 Initial commit 2019-12-10 23:12:17 -09:00