3 3 1
Brett Smith - 14 months ago 2019-09-30 15:21:51
brettcsmith@brettcsmith.org
Remove unwanted dependencies. This doesn't remove all trace of them but it's enough to avoid installing them and still be able to see the front page.
7 files changed with 26 insertions and 92 deletions:
↑ Collapse Diff ↑
...
 
@@ -48,11 +48,6 @@ admin_email = os.environ.get("DJANGO_ADMIN_EMAIL", None)
48 48
 
if admin_email is not None:
49 49
 
    ADMINS = [("Webmaster", admin_email)]
50 50
 

	
51
 

	
52
 
# Use SSLRedirectMiddleware
53
 
SSL_ON = os.environ.get("DJANGO_SSL_ON", True)
54
 
SSL_ALWAYS = os.environ.get("DJANGO_SSL_ALWAYS", False)
55
 

	
56 51
 
# Language code for this installation. All choices can be found here:
57 52
 
# http://www.i18nguy.com/unicode/language-identifiers.html
58 53
 
LANGUAGE_CODE = "en-us"
...
 
@@ -98,13 +93,6 @@ STATICFILES_FINDERS = [
98 93
 
    "compressor.finders.CompressorFinder",
99 94
 
]
100 95
 

	
101
 

	
102
 
# Amazon S3 setup
103
 
DEFAULT_FILE_STORAGE = os.environ.get("DJANGO_DEFAULT_FILE_STORAGE", 'django.core.files.storage.FileSystemStorage') # noqa
104
 
AWS_ACCESS_KEY_ID = os.environ.get("DJANGO_AWS_ACCESS_KEY_ID", None)
105
 
AWS_SECRET_ACCESS_KEY = os.environ.get("DJANGO_AWS_SECRET_ACCESS_KEY", None)
106
 
AWS_STORAGE_BUCKET_NAME = os.environ.get("DJANGO_AWS_STORAGE_BUCKET_NAME", None)
107
 

	
108 96
 
try:
109 97
 
    _dynamic_storage_root = os.environ['DJANGO_DYNAMIC_STORAGE_ROOT']
110 98
 
except KeyError:
...
 
@@ -140,7 +128,6 @@ TEMPLATES = [
140 128
 
                "account.context_processors.account",
141 129
 
                "pinax_theme_bootstrap.context_processors.theme",
142 130
 
                "symposion.reviews.context_processors.reviews",
143
 
                "sekizai.context_processors.sekizai",
144 131
 
            ],
145 132
 
        },
146 133
 
    },
...
 
@@ -157,9 +144,6 @@ MIDDLEWARE_CLASSES = [
157 144
 
    "django.contrib.messages.middleware.MessageMiddleware",
158 145
 
    "reversion.middleware.RevisionMiddleware",
159 146
 
    "django.middleware.clickjacking.XFrameOptionsMiddleware",
160
 
    "ssl_redirect.middleware.SSLRedirectMiddleware",
161
 
    "pinaxcon.middleware.CanonicalHostMiddleware",
162
 
    "pinaxcon.middleware.UnprependWWWMiddleware",
163 147
 
    "pinaxcon.monkey_patch.MonkeyPatchMiddleware",
164 148
 
]
165 149
 

	
...
 
@@ -186,7 +170,6 @@ INSTALLED_APPS = [
186 170
 
    "easy_thumbnails",
187 171
 
    "taggit",
188 172
 
    "reversion",
189
 
    "metron",
190 173
 
    "sitetree",
191 174
 
    "pinax.boxes",
192 175
 
    "pinax.eventlog",
...
 
@@ -220,21 +203,6 @@ INSTALLED_APPS = [
220 203
 
    "pinaxcon.proposals",
221 204
 
    "pinaxcon.registrasion",
222 205
 

	
223
 
    #testing
224
 
    "django_nose",
225
 

	
226
 
    # wiki
227
 
    'django.contrib.humanize',
228
 
    'django_nyt',
229
 
    'mptt',
230
 
    'sekizai',
231
 
    #'sorl.thumbnail',
232
 
    'wiki',
233
 
    'wiki.plugins.attachments',
234
 
    'wiki.plugins.notifications',
235
 
    #'wiki.plugins.images',
236
 
    'wiki.plugins.macros',
237
 

	
238 206
 
    # stylesheets and js
239 207
 
    'compressor',
240 208
 

	
...
 
@@ -344,26 +312,8 @@ ATTENDEE_PROFILE_MODEL = "pinaxcon.registrasion.models.AttendeeProfile"
344 312
 
# in order to register.
345 313
 
TICKET_PRODUCT_CATEGORY = 1
346 314
 

	
347
 

	
348 315
 
INVOICE_CURRENCY = "USD"
349 316
 

	
350
 
WIKI_ACCOUNT_HANDLING = False
351
 
WIKI_ACCOUNT_SIGNUP_ALLOWED = False
352
 

	
353
 
WIKI_ANONYMOUS_WRITE = False
354
 
WIKI_ANONYMOUS_UPLOAD = False
355
 

	
356
 

	
357
 
# Use nose to run all tests
358
 
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
359
 

	
360
 

	
361
 
# Tell nose to measure coverage on the 'foo' and 'bar' apps
362
 
NOSE_ARGS = [
363
 
    '--with-coverage',
364
 
    '--cover-package=registrasion.controllers,registrasion.models',
365
 
]
366
 

	
367 317
 
MARKDOWN_DEUX_STYLES = {
368 318
 
    "default": {
369 319
 
        "safe_mode": False,
1 1
 
{% extends "override_bootstrap_theme_base.html" %}
2 2
 

	
3 3
 
{% load staticfiles %}
4
 
{% load metron_tags %}
5 4
 
{% load i18n %}
6 5
 
{% load sitetree %}
7 6
 

	
...
 
@@ -78,6 +77,5 @@
78 77
 
{% endblock %}
79 78
 

	
80 79
 
{% block extra_body_base %}
81
 
    {% analytics %}
82 80
 
    {% block extra_body %}{% endblock %}
83 81
 
{% endblock %}
...
 
@@ -4,8 +4,6 @@ from django.conf.urls.static import static
4 4
 
from django.contrib.staticfiles.templatetags.staticfiles import static as _static
5 5
 
from django.views.generic import TemplateView
6 6
 
from django.views.generic import RedirectView
7
 
from django_nyt.urls import get_pattern as get_nyt_pattern
8
 
from wiki.urls import get_pattern as get_wiki_pattern
9 7
 

	
10 8
 
from django.contrib import admin
11 9
 

	
...
 
@@ -116,9 +114,6 @@ urlpatterns = [
116 114
 
    url(r'^tickets/', include('registrasion.urls')),
117 115
 
    url(r'^nested_admin/', include('nested_admin.urls')),
118 116
 

	
119
 
    url(r'^wiki/notifications/', get_nyt_pattern()),
120
 
    url(r'^wiki/', get_wiki_pattern())
121
 

	
122 117
 
    # Catch-all MUST go last.
123 118
 
    #url(r"^", include("pinax.pages.urls")),
124 119
 
]
requirements.txt
 
deleted file
requirements/base.txt
 
deleted file
requirements/heroku.txt
 
deleted file
 
new file 100644
1
 
Django>=1.11,<1.12
2
 

	
3
 
# Pinned for Python 2 support.
4
 
django-sitetree<1.13
5
 

	
6
 
# Registrasion
7
 
https://github.com/chrisjrn/registrasion/tarball/master
8
 
https://github.com/chrisjrn/symposion/tarball/northbaypython
9
 
https://github.com/chrisjrn/registrasion-stripe/tarball/master
10
 
https://github.com/chrisjrn/symposion-bootstrap-templates/tarball/master
11
 

	
12
 
pinax-theme-bootstrap
13
 
django-user-accounts
14
 
dj-static
15
 
dj-database-url
16
 
pinax-pages
17
 
pinax-boxes
18
 
django-libsass
19
 
django-markdown-deux
20
 
django-countries
21
 
easy-thumbnails
22
 
django-model-utils
23
 
django-email-log
24
 
django-storages
25
 
django-timezone-field
26
 
pinax-eventlog
0 comments (0 inline, 0 general)