- The 2021 Summer Code Jam qualifier will open June 21st. Check out the details here.
-
-
Each year, we organize a Winter Code Jam and a Summer Code Jam. During these events, members of our community will work together in teams to create something amazing using a technology we picked for them. One such technology that was picked for the Winter Code Jam 2020 was Kivy, a cross-platform GUI framework.
-
To help fuel the creative process, we provide a specific theme, like Ancient Technology or This App Hates You. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.
+
Each year, we organize at least one code jam, one during the summer and sometimes one during the winter. During these events, members of our community will work together in teams to create something amazing using a technology we picked for them. One such technology that was picked for the Summer 2021 Code Jam was text user interfaces (TUIS), where teams could pick from a pre-approved list of frameworks.
+
To help fuel the creative process, we provide a specific theme, like Think Outside the Box or Early Internet. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.
If you want to read more about Code Jams, visit our Code Jam info page or watch this video showcasing the best projects created during the Winter Code Jam 2020: Ancient Technology:
@@ -121,6 +118,5 @@
{% endblock %}
{% block sidebar %}
- {% include "events/sidebar/ongoing-event.html" %}
{% include "events/sidebar/events-list.html" %}
{% endblock %}
--
cgit v1.2.3
From d7d0f2de54720c257d066fce1bcfc5c66dde2d89 Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sat, 18 Sep 2021 18:34:51 -0400
Subject: Update events featured Re-ordered and updated the events listed on
the main events page. We're no longer participating in Hacktoberfest, so that
was removed. Game jams was moved to the bottom as we have not hosted one and
will not for the forseeable future. PyWeek was moved above Advent of Code
because AoC is one of the last events we do in the year so it didn't make
sense to have PyWeek below it.
This also updated the Events Calendar on the sidebar to be accurate for
2021.
---
pydis_site/templates/events/index.html | 64 +++++++---------------
.../templates/events/sidebar/events-list.html | 10 ++--
2 files changed, 26 insertions(+), 48 deletions(-)
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html
index 352a3aa9..b5c556e5 100644
--- a/pydis_site/templates/events/index.html
+++ b/pydis_site/templates/events/index.html
@@ -16,48 +16,27 @@
-
Game Jam
+
PyWeek
- The Game Jam is similar to our Code Jams, but smaller in scope. Instead of having to complete a qualifier
- and being teamed up with random strangers, members of our community can just sign-up individually or pair up
- with whoever they like.
-
-
- The participants will have ten days to create a game using the technology we've selected, and drawing
- inspiration from a provided theme. After the event, a panel of judges will play all the games and select a
- winner. The top 5 will featured in a special video on our YouTube channel.
-
-
- The first edition of the Game Jam ran from
- April 17, 2020 to April 26, 2020.
+ For the past 15 years, PyWeek has been running a bi-annual game jam for the
+ Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these
+ events.
-
-
-
-
-
-
-
-
-
Hacktoberfest
-
-
- This event revolves around the annual Hacktoberfest
- event organized by Digital Ocean. In addition to promoting Hacktoberfest in our community and supporting
- those who choose to take their first steps into the world of open source, we will also ease our members into
- contributing to open source by starting a low-entry, beginner-friendly open source project where we will
- guide our members through the open source process in a safe environment.
+ During each PyWeek event, we open a special discussion channel in which our members can discuss their
+ submissions, meet other participants, and talk to PyWeek staff. The PyWeek organizer,
+ Daniel Pope (@lordmauve) will be present during the entire event to answer
+ questions and post announcements and information in our community.
- The exact form this event will take has not been decided yet, but we'll make sure to keep you updated in
- our community announcements!
+ Unlike our other events, the community will select the winner from all the submissions
+ during PyWeek. We may release YouTube content showcasing the best submissions after the events are finished.
-
+
@@ -91,27 +70,26 @@
-
PyWeek
+
Game Jam
- For the past 15 years, PyWeek has been running a bi-annual game jam for the
- Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these
- events.
+ The Game Jam is similar to our Code Jams, but smaller in scope. Instead of having to complete a qualifier
+ and being teamed up with random strangers, members of our community can just sign-up individually or pair up
+ with whoever they like.
- During each PyWeek event, we open a special discussion channel in which our members can discuss their
- submissions, meet other participants, and talk to PyWeek staff. The PyWeek organizer,
- Daniel Pope (@lordmauve) will be present during the entire event to answer
- questions and post announcements and information in our community.
+ The participants will have ten days to create a game using the technology we've selected, and drawing
+ inspiration from a provided theme. After the event, a panel of judges will play all the games and select a
+ winner. The top 5 will featured in a special video on our YouTube channel.
- Unlike our other events, the community will select the winner from all the submissions
- during PyWeek. We may release YouTube content showcasing the best submissions after the events are finished.
+ The first edition of the Game Jam ran from
+ April 17, 2020 to April 26, 2020.
--
cgit v1.2.3
From c4731bfe1ed27ee8047fa9226158e927ec8600f7 Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sat, 18 Sep 2021 19:13:20 -0400
Subject: Update Code Jam 8 as a finished event This commit adds in the
information about the winners of the code jam.
Additionally, it adds in Code Jam 8 as a prior event in the sidebar.
---
.../templates/events/pages/code-jams/8/_index.html | 52 +++++++++++++++++++---
.../sidebar/code-jams/previous-code-jams.html | 1 +
2 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/pydis_site/templates/events/pages/code-jams/8/_index.html b/pydis_site/templates/events/pages/code-jams/8/_index.html
index 55bdc95b..c789adef 100644
--- a/pydis_site/templates/events/pages/code-jams/8/_index.html
+++ b/pydis_site/templates/events/pages/code-jams/8/_index.html
@@ -20,6 +20,50 @@
and walking through the program that your team has created.
Congratulations to our winners and the two runner ups! Check out their projects below.
+
Perceptive Porcupines: WTPython!?
+
VV, Poppinawhile, ethansocal, Jeff Z, Cohan, ¯\_(ツ)_/¯
+
+ What the Python (wtpython) is a simple terminal user interface that allows you to explore relevant answers on Stackoverflow without leaving your terminal or IDE. When you get an error, all you have to do is swap python for wtpython. When your code hits an error, you'll see a textual interface for exploring relevant answers allowing you to stay focused and ship faster!
+
+ Demo video
+
+ Githib Repository
+
+
+
+ Thinking inside a box, that is inside a box, that is inside yet another box.
+
+ The terminal program created by the Lovable Lobsters allows you to play Ultimate Tic Tac Toe right form your terminal. The really impressive part though? You can play with your friends and family over your network! Their program has a server-client set-up that lets you play with your friends and family from different computers.
+
+ Demo video
+
+ Githib Repository
+
+
+ This submission is a Rubik's cube, rendered in a text user interface (that was a constraint) using the asciimatics package, and addressing the theme "thinking inside the box".
+
+ Just like a real world Rubik's cube, you can move this cube around to look at it from all sides. And, of course, you can rotate the individual discs it is made up of to first scramble up the order and then to try and solve it into perfect ordering again.
+
+ Githib Repository
+
+
Tuesday, June 15 - Form to submit theme suggestions opens
@@ -43,7 +87,7 @@
The qualifier is a coding challenge that you are required to complete before registering for the code jam.
This is meant as a basic assessment of your skills to ensure you have enough python knowledge to effectively contribute in a team environment.
-
Our Code Jam Sponsors have provided prizes for the winners of the code jam.
diff --git a/pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html b/pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html
index 9f9ecd1a..393eec6f 100644
--- a/pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html
+++ b/pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html
@@ -1,6 +1,7 @@
--
cgit v1.2.3
From c9f57ef5b0ab10a9f48481c72594a98ee7096ab0 Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sat, 18 Sep 2021 19:17:14 -0400
Subject: Remove ongoing-codejam from cj page Removes the sidebar block for
ongoing code jams from the main code jam events page.
---
pydis_site/templates/events/pages/code-jams/_index.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/pydis_site/templates/events/pages/code-jams/_index.html b/pydis_site/templates/events/pages/code-jams/_index.html
index 22a86db3..207d4b9a 100644
--- a/pydis_site/templates/events/pages/code-jams/_index.html
+++ b/pydis_site/templates/events/pages/code-jams/_index.html
@@ -66,7 +66,6 @@
{% endblock %}
{% block sidebar %}
- {% include "events/sidebar/code-jams/ongoing-code-jam.html" %}
{% include "events/sidebar/code-jams/previous-code-jams.html" %}
{% include "events/sidebar/code-jams/useful-information.html" %}
{% endblock %}
--
cgit v1.2.3
From fe992f6a8f56c88ad652ebc797f047d269e09fef Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sat, 18 Sep 2021 20:53:53 -0400
Subject: Use the correct theme and update image link I now mention the correct
theme which is "Think Inside the Box"
Additionally, this corrects the link to the icon for Advent of Code.
It was using an old link which is no longer correct.
---
pydis_site/templates/events/index.html | 4 ++--
pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html
index b5c556e5..a9a027b9 100644
--- a/pydis_site/templates/events/index.html
+++ b/pydis_site/templates/events/index.html
@@ -10,7 +10,7 @@
Code Jams
Each year, we organize at least one code jam, one during the summer and sometimes one during the winter. During these events, members of our community will work together in teams to create something amazing using a technology we picked for them. One such technology that was picked for the Summer 2021 Code Jam was text user interfaces (TUIS), where teams could pick from a pre-approved list of frameworks.
-
To help fuel the creative process, we provide a specific theme, like Think Outside the Box or Early Internet. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.
+
To help fuel the creative process, we provide a specific theme, like Think Inside the Box or Early Internet. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.
If you want to read more about Code Jams, visit our Code Jam info page or watch this video showcasing the best projects created during the Winter Code Jam 2020: Ancient Technology:
--
cgit v1.2.3
From 9193466aa1d26a6138634098007f001606581c53 Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sun, 19 Sep 2021 11:27:33 -0400
Subject: Change external links to "_blank" and "noopener" This changes
external links to open in a new tab. It also adds `rel="noopener"` for some
bonus security and performance gains.
This commit only effects files that are within the scope of this PR.
It does not do this against other pages.
---
pydis_site/templates/events/index.html | 8 ++++----
.../templates/events/pages/code-jams/8/_index.html | 22 +++++++++++-----------
.../templates/events/sidebar/events-list.html | 4 ++--
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html
index a9a027b9..158ec56b 100644
--- a/pydis_site/templates/events/index.html
+++ b/pydis_site/templates/events/index.html
@@ -20,14 +20,14 @@
- For the past 15 years, PyWeek has been running a bi-annual game jam for the
+ For the past 15 years, PyWeek has been running a bi-annual game jam for the
Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these
events.
During each PyWeek event, we open a special discussion channel in which our members can discuss their
submissions, meet other participants, and talk to PyWeek staff. The PyWeek organizer,
- Daniel Pope (@lordmauve) will be present during the entire event to answer
+ Daniel Pope (@lordmauve) will be present during the entire event to answer
questions and post announcements and information in our community.
@@ -47,7 +47,7 @@
Each year, many of our members take part of an online coding competition called
- Advent of Code that takes place in December. Advent of Code is an
+ Advent of Code that takes place in December. Advent of Code is an
Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved
in any programming language you like, including Python.
@@ -81,7 +81,7 @@
The participants will have ten days to create a game using the technology we've selected, and drawing
inspiration from a provided theme. After the event, a panel of judges will play all the games and select a
- winner. The top 5 will featured in a special video on our YouTube channel.
+ winner. The top 5 will featured in a special video on our YouTube channel.
The first edition of the Game Jam ran from
diff --git a/pydis_site/templates/events/pages/code-jams/8/_index.html b/pydis_site/templates/events/pages/code-jams/8/_index.html
index c789adef..c3e7010e 100644
--- a/pydis_site/templates/events/pages/code-jams/8/_index.html
+++ b/pydis_site/templates/events/pages/code-jams/8/_index.html
@@ -27,9 +27,9 @@
What the Python (wtpython) is a simple terminal user interface that allows you to explore relevant answers on Stackoverflow without leaving your terminal or IDE. When you get an error, all you have to do is swap python for wtpython. When your code hits an error, you'll see a textual interface for exploring relevant answers allowing you to stay focused and ship faster!
- Demo video
+ Demo video
- Githib Repository
+ Githib Repository
@@ -41,9 +41,9 @@
The terminal program created by the Lovable Lobsters allows you to play Ultimate Tic Tac Toe right form your terminal. The really impressive part though? You can play with your friends and family over your network! Their program has a server-client set-up that lets you play with your friends and family from different computers.
- Demo video
+ Demo video
- Githib Repository
+ Githib Repository
@@ -54,7 +54,7 @@
Just like a real world Rubik's cube, you can move this cube around to look at it from all sides. And, of course, you can rotate the individual discs it is made up of to first scramble up the order and then to try and solve it into perfect ordering again.
- Githib Repository
+ Githib Repository
@@ -67,7 +67,7 @@
The chosen technology/tech stack for this year is Text User Interfaces (TUIs).
Each team must create a program with one of the approved frameworks that creates a user interface that is text based.
- For more information of TUIs and what's involved with such an interface, check out this wikipedia article.
+ For more information of TUIs and what's involved with such an interface, check out this wikipedia article.
The qualifier is a coding challenge that you are required to complete before registering for the code jam.
This is meant as a basic assessment of your skills to ensure you have enough python knowledge to effectively contribute in a team environment.
Scalable compute platform with add-on storage, security, and monitoring capabilities.
We make it simple to launch in the cloud and scale up as you grow—whether you’re running one virtual machine or ten thousand.
@@ -130,7 +130,7 @@
Whatever platform or language you work with, JetBrains has a development tool for you.
We help developers work faster by automating common, repetitive tasks to enable them to stay focused on code design and the big picture.
@@ -149,7 +149,7 @@
Tabnine is an AI-powered code completion tool used by millions of devs around the world every day
- Tabnine supports dozens of programming languages, in all of your favorite IDEs, saving you tons of time - so that you can type less and code more.
Tabnine comes as a plugin and has a free-forever basic plan, so you can get started with it right away!
diff --git a/pydis_site/templates/events/sidebar/events-list.html b/pydis_site/templates/events/sidebar/events-list.html
index 6029ae74..5dfe5dc2 100644
--- a/pydis_site/templates/events/sidebar/events-list.html
+++ b/pydis_site/templates/events/sidebar/events-list.html
@@ -1,10 +1,10 @@
--
cgit v1.2.3
From f0a8cb7158b53cf23a7a0974302c376119e112d1 Mon Sep 17 00:00:00 2001
From: Janine vN
Date: Sun, 19 Sep 2021 19:52:03 -0400
Subject: Correct typos and spacing You would think I would be able to spell
GitHub correctly at this point.
I've fixed the typos on this page and altered some of the spacing to
provide something nicer to glance over.
---
.../templates/events/pages/code-jams/8/_index.html | 36 ++++++++++++----------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/pydis_site/templates/events/pages/code-jams/8/_index.html b/pydis_site/templates/events/pages/code-jams/8/_index.html
index c3e7010e..628a2c22 100644
--- a/pydis_site/templates/events/pages/code-jams/8/_index.html
+++ b/pydis_site/templates/events/pages/code-jams/8/_index.html
@@ -22,39 +22,43 @@
Congratulations to our winners and the two runner ups! Check out their projects below.
-
Perceptive Porcupines: WTPython!?
-
VV, Poppinawhile, ethansocal, Jeff Z, Cohan, ¯\_(ツ)_/¯
-
+
+
Perceptive Porcupines: WTPython!?
+
VV, Poppinawhile, ethansocal, Jeff Z, Cohan, ¯\_(ツ)_/¯
+
What the Python (wtpython) is a simple terminal user interface that allows you to explore relevant answers on Stackoverflow without leaving your terminal or IDE. When you get an error, all you have to do is swap python for wtpython. When your code hits an error, you'll see a textual interface for exploring relevant answers allowing you to stay focused and ship faster!
-
+
Thinking inside a box, that is inside a box, that is inside yet another box.
The terminal program created by the Lovable Lobsters allows you to play Ultimate Tic Tac Toe right form your terminal. The really impressive part though? You can play with your friends and family over your network! Their program has a server-client set-up that lets you play with your friends and family from different computers.
-
+
This submission is a Rubik's cube, rendered in a text user interface (that was a constraint) using the asciimatics package, and addressing the theme "thinking inside the box".
Just like a real world Rubik's cube, you can move this cube around to look at it from all sides. And, of course, you can rotate the individual discs it is made up of to first scramble up the order and then to try and solve it into perfect ordering again.
-
- Githib Repository
+
@@ -82,7 +86,7 @@
Each team must create a program with one of the approved frameworks that creates a user interface that is text based.
For more information of TUIs and what's involved with such an interface, check out this wikipedia article.
-
--
cgit v1.2.3
From b8466fcbb3325b590c4b6ebe508ee35d02dc4b6a Mon Sep 17 00:00:00 2001
From: Hassan Abouelela
Date: Wed, 6 Oct 2021 02:17:14 +0400
Subject: Properly Resize Sponsor Logos
Ensure sponsor logos don't go past the edge of the screen, and maintain
aspect ratio when sized down.
Signed-off-by: Hassan Abouelela
---
pydis_site/static/css/home/index.css | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index ee6f6e4c..7ec8af74 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -215,12 +215,20 @@ h1 {
}
#sponsors .columns {
+ display: block;
justify-content: center;
margin: auto;
max-width: 80%;
}
+#sponsors a {
+ margin: auto;
+ display: inline-block;
+}
+
#sponsors img {
- height: 5rem;
- margin: auto 1rem;
+ width: auto;
+ height: auto;
+
+ max-height: 5rem;
}
--
cgit v1.2.3
From bc1aae035a25dca1a894e22421f493175edebac2 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela
Date: Wed, 6 Oct 2021 02:18:39 +0400
Subject: Adds Netlify To Sponsors
Signed-off-by: Hassan Abouelela
---
pydis_site/static/images/sponsors/netlify.png | Bin 0 -> 177462 bytes
pydis_site/templates/home/index.html | 4 ++++
2 files changed, 4 insertions(+)
create mode 100644 pydis_site/static/images/sponsors/netlify.png
diff --git a/pydis_site/static/images/sponsors/netlify.png b/pydis_site/static/images/sponsors/netlify.png
new file mode 100644
index 00000000..0f14f385
Binary files /dev/null and b/pydis_site/static/images/sponsors/netlify.png differ
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html
index 8e52274d..77037ef8 100644
--- a/pydis_site/templates/home/index.html
+++ b/pydis_site/templates/home/index.html
@@ -187,6 +187,10 @@
+
+
+
+
--
cgit v1.2.3
From 81054bdd73c937f184fef828a8f3bacd6d30caaa Mon Sep 17 00:00:00 2001
From: Kronifer <44979306+Kronifer@users.noreply.github.com>
Date: Tue, 5 Oct 2021 18:14:02 -0500
Subject: Merge Gitpod Docs (#594)
docs: Added site documentation for editing on Gitpod
---
.../resources/guides/pydis-guides/contributing/sir-lancebot.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md
index 068b08ae..60169c01 100644
--- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md
+++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md
@@ -16,6 +16,15 @@ toc: 1
- [MacOS Installer](https://git-scm.com/download/mac) or `brew install git`
- [Linux](https://git-scm.com/download/linux)
+## Using Gitpod
+Sir Lancebot can be edited and tested on Gitpod. Gitpod will automatically install the correct dependencies and Python version, so you can get straight to coding.
+To do this, you will need a Gitpod account, which you can get [here](https://www.gitpod.io/#get-started), and a fork of Sir Lancebot. This guide covers forking the repository [here](#fork-the-project). Afterwards, either click the button on Sir Lancebot's README or go to [https://gitpod.io/#/python-discord/sir-lancebot]() and run the following commands in the terminal:
+```sh
+git remote rename origin upstream
+git add remote origin https://github.com/{your_username}/sir-lancebot
+```
+Make sure you replace `{your_username}` with your Github username. These commands will set Python Discord as the parent repository, and your branch as the fork. This means you can easily grab new changes from the parent repository. Once you set your environment variables to test your code, you are ready to begin contributing to Sir Lancebot.
+
## Using Docker
Sir Lancebot can be started using Docker. Using Docker is generally recommended (but not strictly required) because it abstracts away some additional set up work.
--
cgit v1.2.3
From 8f596f3b5fd44a502efccc021ab4c50908da3d67 Mon Sep 17 00:00:00 2001
From: Joe Banks
Date: Wed, 6 Oct 2021 00:18:37 +0100
Subject: Add www.pythondiscord.com to ALLOWED_HOSTS (#601)
---
pydis_site/settings.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index d2cd8698..656676da 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -55,6 +55,7 @@ else:
ALLOWED_HOSTS = env.list(
'ALLOWED_HOSTS',
default=[
+ 'www.pythondiscord.com',
'pythondiscord.com',
'admin.pythondiscord.com',
'api.pythondiscord.com',
--
cgit v1.2.3
From b5b49ef0ea9209ecc140302879383b619e694541 Mon Sep 17 00:00:00 2001
From: Joe Banks
Date: Wed, 6 Oct 2021 00:35:59 +0100
Subject: Update hosts.py to default to www
---
pydis_site/hosts.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py
index 5a837a8b..719e93cf 100644
--- a/pydis_site/hosts.py
+++ b/pydis_site/hosts.py
@@ -9,5 +9,6 @@ host_patterns = patterns(
# Internal API ingress (cluster local)
host(r'pydis-api', 'pydis_site.apps.api.urls', name='internal_api'),
host(r'staff', 'pydis_site.apps.staff.urls', name='staff'),
- host(r'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST)
+ host(r'www', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST),
+ host(r'.*', 'pydis_site.apps.home.urls', name="fallback")
)
--
cgit v1.2.3