Skip to content

Commit 1e7756c

Browse files
Merge pull request #748 from python-discord/clarify-websocketrule
Clarify WebSocket restriction rule's impact on static serving
2 parents 7de0083 + fadda91 commit 1e7756c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pydis_site/templates/events/pages/code-jams/9/_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h3 id="important-dates"><a href="#important-dates">Important Dates</a></h3>
2626
<li><strike>Wednesday, June 29 - The Qualifier is released</strike></li>
2727
<li><strike>Wednesday, July 6 - Voting for the theme opens</strike></li>
2828
<li><strike>Wednesday, July 13 - The Qualifier closes</strike></li>
29-
<li>Thursday, July 21 - Code Jam Begins</li>
29+
<li><strike>Thursday, July 21 - Code Jam Begins</strike></li>
3030
<li>Sunday, July 31 - Coding portion of the jam ends</li>
3131
<li>Sunday, August 4 - Code Jam submissions are closed</li>
3232
</ul>

pydis_site/templates/events/pages/code-jams/9/rules.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717

1818
<p>
1919
An exception to this rule is that communication with databases and files is allowed for accessing resources or for storage purposes.
20-
For example, you may use PostgreSQL as a database but not its `NOTIFY` command.
20+
For example, you may use PostgreSQL as a database but not its <code>NOTIFY</code> command.
2121
Working with subprocesses (through stdin/stdout or <code>multiprocessing.Pool()</code>/<code>concurrent.futures.ProcessPoolExecutor()</code>) is also allowed.
2222
</p>
2323

24+
<p>Another exception is made for serving static files, which normally uses HTTP. You are allowed to serve a JavaScript-implemented client for your WebSocket server.</p>
25+
2426
<p>If you're interested in utilizing a particular non-WebSocket method of communication, reach out to the Events Team for discussion and approval</p>
2527
</li>
2628
<li><p>Your solution should be platform agnostic. For example, if you use filepaths in your submission, use <code>pathlib</code> to create platform agnostic Path objects instead of hardcoding the paths.</p></li>

pydis_site/templates/events/sidebar/code-jams/previous-code-jams.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="box">
22
<p class="menu-label">Previous Code Jams</p>
33
<ul class="menu-list">
4-
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/9" %}">Code Jam 9: (Theme to be announced)</a></li>
4+
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/9" %}">Code Jam 9: It's Not A Bug, It's A Feature</a></li>
55
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/8" %}">Code Jam 8: Think Inside the Box</a></li>
66
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/7" %}">Code Jam 7: Early Internet</a></li>
77
<li><a class="has-text-link" href="{% url "events:page" path="code-jams/6" %}">Code Jam 6: Ancient Technology</a></li>

0 commit comments

Comments
 (0)