aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/models (follow)
Commit message (Collapse)AuthorAgeLines
* Add a readme for the home appGravatar Johannes Christ2023-03-29-36/+0
| | | | | | | | This commit also moves the nested structures for models and views in the home app into a single module, as they were not split up as part of the subpackage, with the goal of making this a bit more overseeable. Part of #674.
* Make last_updated field automatically update.Gravatar Leon Sandøy2020-12-22-8/+7
| | | | | | | | | | | | 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.
* Give a code a lintGravatar Jeremiah Boby2019-07-10-1/+0
|
* Finish linting non-API modulesGravatar Gareth Coles2019-04-21-0/+2
|
* Adding a Discord menu item to the hamburger, and upping test coverage back ↵Gravatar Leon Sandøy2019-04-20-1/+1
| | | | to 100%
* Addressing volcyys third review.Gravatar Leon Sandøy2019-04-20-0/+0
|
* Addressing all comments in volcyy's second review. The tests now mock the ↵Gravatar Leon Sandøy2019-04-19-0/+36
API calls so we don't have to actually call the API every time we run tests.