aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/hosts.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-13/+0
| | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`.
* Don't change the name of the host for subdomainsGravatar Joe Banks2021-02-10-1/+1
| | | The host is used to build reverse URLs during tests, changing it causes it to fail.
* Update hosts.pyGravatar Joe Banks2021-02-10-1/+4
|
* Adding initial staff app to DjangoGravatar Sebastiaan Zeeff2019-08-23-0/+1
|
* Addressing all comments in volcyy's second review. The tests now mock the ↵Gravatar Leon Sandøy2019-04-19-1/+1
| | | | 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-2/+1
| | | | to write the API search stuff now.
* Address review by @lemonsaurusGravatar Gareth Coles2019-04-06-4/+1
|
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-0/+13