Drop the wiki
Whatever wiki is used, will be run as a standalone application that is not part of the primary application. Closes #4
This commit is contained in:
parent
cfbf547dd9
commit
cae05aeebc
4 changed files with 0 additions and 66 deletions
|
@ -110,7 +110,6 @@ TEMPLATES = [
|
||||||
"account.context_processors.account",
|
"account.context_processors.account",
|
||||||
"pinax_theme_bootstrap.context_processors.theme",
|
"pinax_theme_bootstrap.context_processors.theme",
|
||||||
"symposion.reviews.context_processors.reviews",
|
"symposion.reviews.context_processors.reviews",
|
||||||
"sekizai.context_processors.sekizai",
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -206,18 +205,6 @@ INSTALLED_APPS = [
|
||||||
"jquery",
|
"jquery",
|
||||||
"djangoformsetjs",
|
"djangoformsetjs",
|
||||||
|
|
||||||
# wiki
|
|
||||||
"django_nyt",
|
|
||||||
"mptt",
|
|
||||||
"sekizai",
|
|
||||||
"sorl.thumbnail",
|
|
||||||
"wiki",
|
|
||||||
"wiki.plugins.attachments",
|
|
||||||
"wiki.plugins.notifications",
|
|
||||||
"wiki.plugins.images",
|
|
||||||
"wiki.plugins.macros",
|
|
||||||
|
|
||||||
|
|
||||||
#testing
|
#testing
|
||||||
"django_nose",
|
"django_nose",
|
||||||
]
|
]
|
||||||
|
@ -372,20 +359,12 @@ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
|
||||||
|
|
||||||
ADMIN_USERNAMES = []
|
ADMIN_USERNAMES = []
|
||||||
|
|
||||||
# Wiki settings
|
|
||||||
WIKI_CHECK_SLUG_URL_AVAILABLE = False
|
|
||||||
|
|
||||||
# Tell nose to measure coverage on the 'foo' and 'bar' apps
|
# Tell nose to measure coverage on the 'foo' and 'bar' apps
|
||||||
NOSE_ARGS = [
|
NOSE_ARGS = [
|
||||||
'--with-coverage',
|
'--with-coverage',
|
||||||
'--cover-package=registrasion.controllers,registrasion.models',
|
'--cover-package=registrasion.controllers,registrasion.models',
|
||||||
]
|
]
|
||||||
|
|
||||||
WIKI_CAN_READ = True
|
|
||||||
WIKI_CAN_WRITE = True
|
|
||||||
WIKI_CAN_DELETE = True
|
|
||||||
WIKI_ACCOUNT_HANDLING = False
|
|
||||||
|
|
||||||
# Production settings have their own file to override stuff here
|
# Production settings have their own file to override stuff here
|
||||||
try:
|
try:
|
||||||
LOCAL_SETTINGS
|
LOCAL_SETTINGS
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
{% extends "site_base_wagtail.html" %}
|
|
||||||
{% load sekizai_tags i18n wiki_tags static %}
|
|
||||||
|
|
||||||
{% block head_title %}
|
|
||||||
{% block wiki_pagetitle %}{% endblock %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block styles %}
|
|
||||||
<link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
|
|
||||||
<link href="{% static "css/wiki.css" %}" rel="stylesheet">
|
|
||||||
{{ block.super }}
|
|
||||||
<style>
|
|
||||||
.wiki {
|
|
||||||
font-size: 70%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock styles %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="l-content-page">
|
|
||||||
<div class="l-content-page--richtext">
|
|
||||||
<div class="wiki">
|
|
||||||
{% block wiki_breadcrumbs %}{% endblock %}
|
|
||||||
{% block wiki_contents %}{% endblock %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block scripts_extra %}
|
|
||||||
{{ block.super }}
|
|
||||||
<script src="{% static "wiki/js/core.js" %}"></script>
|
|
||||||
<script src="{% static "wiki/bootstrap/js/bootstrap.min.js" %}"></script>
|
|
||||||
<!-- Optionally enable responsive features in IE8 -->
|
|
||||||
<script src="{% static "wiki/js/respond.min.js" %}"></script>
|
|
||||||
{% endblock %}
|
|
|
@ -6,9 +6,6 @@ from django.views.generic import TemplateView
|
||||||
from wagtail.wagtailadmin import urls as wagtailadmin_urls
|
from wagtail.wagtailadmin import urls as wagtailadmin_urls
|
||||||
from wagtail.wagtailcore import urls as wagtail_urls
|
from wagtail.wagtailcore import urls as wagtail_urls
|
||||||
|
|
||||||
from wiki.urls import get_pattern as get_wiki_pattern
|
|
||||||
from django_nyt.urls import get_pattern as get_nyt_pattern
|
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
import symposion.views
|
import symposion.views
|
||||||
|
@ -41,9 +38,6 @@ urlpatterns = [
|
||||||
url(r'^tickets/', include('registrasion.urls')),
|
url(r'^tickets/', include('registrasion.urls')),
|
||||||
url(r'^nested_admin/', include('nested_admin.urls')),
|
url(r'^nested_admin/', include('nested_admin.urls')),
|
||||||
|
|
||||||
# Wiki
|
|
||||||
url(r'^notifications/', get_nyt_pattern()),
|
|
||||||
url(r'^wiki/', get_wiki_pattern()),
|
|
||||||
|
|
||||||
# Default catch-all for wagtail pages.
|
# Default catch-all for wagtail pages.
|
||||||
url(r'^', include(wagtail_urls)),
|
url(r'^', include(wagtail_urls)),
|
||||||
|
|
|
@ -17,9 +17,6 @@ django-debug-toolbar==1.6
|
||||||
# database
|
# database
|
||||||
mysqlclient>=1.3.3
|
mysqlclient>=1.3.3
|
||||||
|
|
||||||
#Wiki
|
|
||||||
wiki==0.1.2
|
|
||||||
|
|
||||||
# For testing
|
# For testing
|
||||||
django-nose==1.4.3
|
django-nose==1.4.3
|
||||||
coverage==4.0.3
|
coverage==4.0.3
|
||||||
|
|
Loading…
Reference in a new issue