aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/migrations (follow)
Commit message (Collapse)AuthorAgeLines
* Make last_updated field automatically update.Gravatar Leon Sandøy2020-12-22-0/+18
| | | | | | | | | | | | 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.
* Addressing all comments in volcyy's second review. The tests now mock the ↵Gravatar Leon Sandøy2019-04-19-0/+26
| | | | API calls so we don't have to actually call the API every time we run tests.
* refactoring slightly to use a class-based view, changing home to main. Ready ↵Gravatar Leon Sandøy2019-04-13-0/+0
| | | | to write the API search stuff now.
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-0/+0