aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/models (follow)
Commit message (Collapse)AuthorAgeLines
* Move commit model into its own fileGravatar Johannes Christ2023-07-27-37/+41
| | | | | Let's stick to the standard scheme - otherwise we might as well just have a single models file.
* Switch to ruff for lintingGravatar Johannes Christ2023-05-10-2/+1
|
* Rename Tag Model Author FieldGravatar Hassan Abouelela2022-08-23-2/+7
| | | | | | | Renames the tag model `author` field to `authors` to better indicate what's contained in the field, and updates the documentation. Signed-off-by: Hassan Abouelela <[email protected]>
* Clarify Tag Model DocstringGravatar Hassan Abouelela2022-08-23-1/+1
| | | Co-authored-by: ChrisJL <[email protected]>
* Improve Tag Commit NamingGravatar Hassan Abouelela2022-08-23-3/+3
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Better Split Up Tag Commit MessagesGravatar Hassan Abouelela2022-08-16-0/+5
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Add Tag MetadataGravatar Hassan Abouelela2022-08-16-6/+8
| | | | | | | Uses the commit API to obtain tag metadata such as when it was last edited, and by whom. Signed-off-by: Hassan Abouelela <[email protected]>
* Unify Tag Migrations & Add Commit ModelGravatar Hassan Abouelela2022-08-16-2/+38
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Move Tag URL To Property And Add GroupGravatar Hassan Abouelela2022-08-14-1/+16
| | | | | | | | | The URLs can be simply constructed using the other tag properties, so they were removed from the database in favor of a property. A group field was also added to support tags within groups. Signed-off-by: Hassan Abouelela <[email protected]>
* Export Tag Model As Top Level Model ObjectGravatar Hassan Abouelela2022-08-13-0/+3
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Add Tags To Content ListingsGravatar Hassan Abouelela2022-08-13-0/+17
Adds bot tags to the content page, as well as a model to go along with it. Signed-off-by: Hassan Abouelela <[email protected]>