Revert "Change comment style (#67)" (#68)

This reverts commit 411f3da45e.
This commit is contained in:
Phuoc Dinh Le 2023-05-19 18:53:43 -05:00 committed by GitHub
parent 411f3da45e
commit 0494a36681
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
784 changed files with 307 additions and 696 deletions

0
dmoj/__init__.py Executable file → Normal file
View file

0
dmoj/celery.py Executable file → Normal file
View file

15
dmoj/settings.py Executable file → Normal file
View file

@ -219,7 +219,6 @@ else:
}
INSTALLED_APPS += (
"debug_toolbar",
"django.contrib.admin",
"judge",
"django.contrib.auth",
@ -249,7 +248,6 @@ INSTALLED_APPS += (
)
MIDDLEWARE = (
"debug_toolbar.middleware.DebugToolbarMiddleware",
"judge.middleware.SlowRequestMiddleware",
"judge.middleware.ShortCircuitMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
@ -423,12 +421,7 @@ STATICFILES_DIRS = [
STATIC_URL = "/static/"
# Define a cache
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": "127.0.0.1:11211",
}
}
CACHES = {}
# Authentication
AUTHENTICATION_BACKENDS = (
@ -488,9 +481,3 @@ except IOError:
pass
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
INTERNAL_IPS = [
# ...
"127.0.0.1",
# ...
]

0
dmoj/throttle_mail.py Executable file → Normal file
View file

4
dmoj/urls.py Executable file → Normal file
View file

@ -1,6 +1,5 @@
import chat_box.views as chat
from django.urls import include, path
from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
@ -207,7 +206,6 @@ def paged_list_view(view, name, **kwargs):
urlpatterns = [
path('__debug__/', include('debug_toolbar.urls')),
url("", include("pagedown.urls")),
url(
r"^$",
@ -470,8 +468,6 @@ urlpatterns = [
url(r"^comments/upvote/$", comment.upvote_comment, name="comment_upvote"),
url(r"^comments/downvote/$", comment.downvote_comment, name="comment_downvote"),
url(r"^comments/hide/$", comment.comment_hide, name="comment_hide"),
url(r"^comments/get_replies/$", comment.get_replies, name="comment_get_replies"),
url(r"^comments/show_more/$", comment.get_show_more, name="comment_show_more"),
url(
r"^comments/(?P<id>\d+)/",
include(

0
dmoj/wsgi.py Executable file → Normal file
View file

0
dmoj/wsgi_async.py Executable file → Normal file
View file