Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9987 kill quadratic lands remove app #10138

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ WORKDIR /usr/src
RUN apt-get update && apt-get install -y wget
RUN wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
RUN apt-get install -y $CHROME_DEPS
RUN dpkg -i google-chrome-stable_current_amd64.deb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this supposed to be dropped here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol that fails on the m1 :P but should be a in a seperate PR anyways


# Install cypress dependencies
RUN apt-get install -y $CYPRESS_DEPS
Expand Down
5 changes: 2 additions & 3 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@
'wiki.plugins.macros.apps.MacrosConfig',
'adminsortable2',
'debug_toolbar',
'passport',
'quadraticlands'
'passport'
]

MIDDLEWARE = [
Expand Down Expand Up @@ -184,7 +183,7 @@

TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['retail/templates/', 'dataviz/templates', 'kudos/templates', 'inbox/templates', 'quests/templates', 'townsquare/templates', 'quadraticlands/templates'],
'DIRS': ['retail/templates/', 'dataviz/templates', 'kudos/templates', 'inbox/templates', 'quests/templates', 'townsquare/templates'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down
7 changes: 4 additions & 3 deletions app/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
from kudos.router import router as kdrouter

from .sitemaps import sitemaps
from .views import redirect_view

urlpatterns = [

Expand Down Expand Up @@ -770,9 +771,9 @@
url(r'^blocknative', perftools.views.blocknative, name='blocknative'),

# quadratic lands
path('quadraticlands/', include('quadraticlands.urls', namespace='quadraticlands')),
re_path(r'^quadraticlands/?', include('quadraticlands.urls', namespace='ql_catchall_')),
re_path(r'^quadraticland/?', include('quadraticlands.urls', namespace='ql_catchall')),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just a nightmare :P meh meh meh

path('quadraticlands/', redirect_view),
re_path(r'^quadraticlands/?', redirect_view),
re_path(r'^quadraticland/?', redirect_view),

# for robots
url(r'^robots.txt/?', retail.views.robotstxt, name='robotstxt'),
Expand Down
5 changes: 5 additions & 0 deletions app/app/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.shortcuts import redirect

def redirect_view(request):
response = redirect('http://decentralized.quadraticlands.com/')
return response
Empty file removed app/quadraticlands/__init__.py
Empty file.
60 changes: 0 additions & 60 deletions app/quadraticlands/admin.py

This file was deleted.

5 changes: 0 additions & 5 deletions app/quadraticlands/apps.py

This file was deleted.

1 change: 0 additions & 1 deletion app/quadraticlands/forms.py

This file was deleted.

275 changes: 0 additions & 275 deletions app/quadraticlands/helpers.py

This file was deleted.

Loading