| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
For string fields NULL as default is not suggested, so use empty string instead.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Entries isn't handled manually anymore so these tests have no point.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
After moving entries to nomination serializer we can get rid
from GET request handlers and let DRF handle this.
Also PATCH and POST handlers got some simplification by
removing manual entries setting.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
After setting related_name in NominationEntry model nomination field,
we can just provide serializer and DRF automatically fetch
all related entries.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This doesn't make sense to have 3 small migrations for one PR,
so I merged 2 existing migrations and 1 new, ordering and related_name adding migrations to one.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Set it here so we don't have to set it every place where we
fetch entries.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In order to use entries in serializer without manually
setting entries key we have to use related_name option to
automatically fetch all related entries.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |/ / / / / |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
The host is used to build reverse URLs during tests, changing it causes it to fail.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Add internal domain for API routing and remove legacy routes for pydis.com domains (which are now redirected at the edge)
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The validators kwarg expects an iterable of validators,
while a validator directly was being supplied.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The move prevents it going through the line limit
and deeper nesting of parentheses from splitting up the string.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Some packages can contain them and are good for stats.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Package names are used for stats in the bot and are restricted to
the a-z_ char set, a validator is added to accommodate this restriction
at the site admin side.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |/ / /
|/| | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \ |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
python-discord/hotfix/lemon/front-page-project-sanity
Stale RepositoryMetadata cleanup
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
python-discord/lemon/bug/too_many_github_api_requests
|
| | | | | | | |
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously, we were operating under a bad assumption that we would be
updating the last_updated field in the RepositoryMetadata objects
whenever we updated the objects with new data from the GitHub API.
Upon closer inspection, this is not at all what we're doing, and some of
those repository objects had not been updated in over a year!
This introduces `auto_now` to the field, which will ensure that it is
automatically updated whenever the object is updated.
|