| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
This adds the initial cheatsheet from the Git and GitHub Bootcamp.
This is just a baseline commit and this cheatsheet needs more resources
added as well as the overall layout should be adjusted as needed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | | |
There is no href on these items, so they should not be anchors.
|
| | | | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Adds time and more information about the GitHub bootcamp.
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | | |
cj8-qualifier-release
|
| | | |\ \ |
|
| | | | | | |
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
BigInt is needed as Discord's permissions number now exceeds that which can be stored
in a normal int. I have removed the max value validator, as this just adds
maintanence burden for us each time Discord adds new permissions.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clarify that each member of a winning team gets one of the licenses as a
prize. They don't have to Lord of Flies duel it out.
|
| | |/ /
| | | |
| | | |
| | | | |
One day I'll spell GitHub correctly and consistently. One day...
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds a Prizes section to the Code Jam 8 page.
Links, descriptions, and a quick summation of the prizes offered
by each sponsor is included.
The Python Discord prizes should also be included at a later date.
|
| | | |
| | | |
| | | |
| | | | |
Adds tabnine as a sponsor on the events sidebar.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds in a section about the qualifier and links to it and the
sign-up form.
|
| | |/
| | |
| | |
| | |
| | |
| | | |
This commit adds some basic information about the github bootcamp.
More information should and will be added later, but this adds some
of the basics and adds it to the sidebar.
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Python Prompt Toolkit is added as an approved framework.
Unicurses and nurses are added as additional frameworks you can use with
curses, although it's a use at your own risk and no promises are made
for functionality or stability.
|
| | |
|
| |
| |
| | |
Co-authored-by: Joe Banks <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Link detail section in environment variables section.
- Update old static path from pre-Docker environment times and mention the
Docker setup.
diff --git
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
index 8c21b5b0..24227f24 100644 ---
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
+++
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md @@
-79,6 +79,9 @@ SECRET_KEY=suitable-for-development-only STATIC_ROOT=staticfiles
```
+The [Configuration in Detail](#configuration-in-detail) section contains
+detailed information about these settings.
+
#### Notes regarding `DATABASE_URL`
- If the database is hosted locally i.e. on the same machine as the webserver, then use `localhost` for the host. Windows and macOS users may need to use the [Docker host IP](../hosts-file/#windows) instead.
@@ -173,5 +176,6 @@ The website is configured through the following environment variables:
- **`SECRET_KEY`**: The secret key used in various parts of Django. Keep this
secret as the name suggests! This is managed for you in debug setups.
-- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic` collects
- static files. Optional, defaults to `/var/www/pythondiscord.com`.
+- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic`
+ collects static files. Optional, defaults to `/app/staticfiles` for the
+ standard Docker deployment.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
macOS uses `/var/...` as its temp directory, causing issues with the
hardcoded usage of `/tmp` as the temporary directory. Therefore,
relying on tmp is not portable.
Populating the true temporary directory is redundant and may cause more
problems because of nested directories. Move the fake content under a
subdirectory to avoid this issue.
Co-authored-by: MarkKoz <[email protected]>
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
A more specific error is raised on higher PostgreSQL versions, for example, as
with the PostgreSQL version running on my local machine. This commit fixes the
error message pattern matching behaviour by adding an optional match to the
detailed error message.
|
|/
|
|
|
| |
This is later mentioned in the connection string, but in the local setup, the
SQL statement to create the database was missing.
|
|\ |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| |/ |
|
| |
| |
| |
| | |
Expires and permanent=false are permitted and tested for. Expires_before also filters the database for permanent=false explicitly
|
| |
| |
| |
| |
| | |
The check was backwards, enforcing that no results must ever be returned
Relevant tests have been added that actually fetch an infraction with the right times so that I'm sure it's not still broken
|
| |
| |
| |
| | |
If the before time is after the after time, or if both `type` and `types` are specified
|