| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
I was handling this in a Django vanilla kind of way, which was causing
the constraint to return a 500 instead of a 400. This changes the
approach to use the DRF way, and makes it return 400.
It doesn't actually change the way anything behaves, other than
returning the right status code.
|
|
|
|
|
|
|
|
|
|
GUILD_INVITE_ID -> GUILD_INVITE
WORD_WATCHLIST -> FILTER_TOKEN
|
|
This will be used to describe or justify the entries in the blacklist or
whitelist, for example for the guild name in the case of guild invite
IDs, so that we have some context when we're displaying the list.
https://github.com/python-discord/site/issues/305
|
|
|
|
Since the mentions field stores static IDs and not foreign keys, there
is no need to create the objects for the test.
|
|
https://github.com/python-discord/site/issues/305
|
|
https://github.com/python-discord/site/issues/305
|
|
https://github.com/python-discord/site/issues/305
|
|
https://github.com/python-discord/site/issues/305
|
|
The test_utils_account.py tests were never running, because the folder
they were in had no __init__.py file.
The test_models.py file was failing because it had an outdated import of
the ModelReprMixin, which has moved to a new file.
https://github.com/python-discord/site/issues/305
|
|
https://github.com/python-discord/site/issues/305
|