Exorcise tw2.
This includes the work to get rid of moksha.wsgi from #384, but additionally gets rid of tw2.
This commit is contained in:
parent
32dc707951
commit
84c1373497
|
@ -5,7 +5,6 @@ port = 80
|
|||
|
||||
[pipeline:main]
|
||||
pipeline =
|
||||
egg:tw2.core#middleware
|
||||
pyramid
|
||||
|
||||
[app:pyramid]
|
||||
|
|
|
@ -5,12 +5,8 @@ port = 8000
|
|||
|
||||
[pipeline:main]
|
||||
pipeline =
|
||||
tw2
|
||||
pyramid
|
||||
|
||||
[filter:tw2]
|
||||
use = egg:tw2.core#middleware
|
||||
|
||||
[app:pyramid]
|
||||
|
||||
use = egg:tahrir
|
||||
|
|
|
@ -5,12 +5,8 @@ port = 80
|
|||
|
||||
[pipeline:main]
|
||||
pipeline =
|
||||
tw2
|
||||
pyramid
|
||||
|
||||
[filter:tw2]
|
||||
use = egg:tw2.core#middleware
|
||||
|
||||
[app:pyramid]
|
||||
|
||||
use = egg:tahrir
|
||||
|
|
|
@ -10,8 +10,6 @@ from pyramid.security import (
|
|||
|
||||
from pyramid.settings import asbool
|
||||
|
||||
import tw2.jquery
|
||||
|
||||
import tahrir.views
|
||||
|
||||
from pkg_resources import get_distribution
|
||||
|
@ -52,6 +50,3 @@ def inject_globals(event):
|
|||
event['gplus'] = asbool(settings.get('tahrir.social.gplus'))
|
||||
|
||||
event['auth_principals'] = effective_principals(request)
|
||||
|
||||
# Cause jquery.js to be injected into the page.
|
||||
tw2.jquery.jquery_js.display()
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,6 +15,7 @@ import json
|
|||
<link rel="stylesheet" media="mobile" href="${request.static_url('%s:static/css/unsemantic-grid-mobile.css' % theme_name)}" />
|
||||
<link rel="stylesheet" media="screen" href="${request.static_url('%s:static/css/unsemantic-grid-responsive.css' % theme_name)}" />
|
||||
<link rel="shortcut icon" href="${request.static_url('%s:static/img/favicon.ico' % theme_name)}" />
|
||||
<script src="${request.static_url('%s:static/js/jquery-3.1.1.min.js' % theme_name)}"></script>
|
||||
<script src="${request.static_url('%s:static/js/social.js' % theme_name)}"></script>
|
||||
<script src="${request.static_url('%s:static/js/favico-0.3.4.min.js' % theme_name)}"></script>
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue