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:
Sachi King 2017-03-05 16:17:22 +11:00
parent cfbf547dd9
commit cae05aeebc
4 changed files with 0 additions and 66 deletions

View file

@ -110,7 +110,6 @@ TEMPLATES = [
"account.context_processors.account",
"pinax_theme_bootstrap.context_processors.theme",
"symposion.reviews.context_processors.reviews",
"sekizai.context_processors.sekizai",
],
},
},
@ -206,18 +205,6 @@ INSTALLED_APPS = [
"jquery",
"djangoformsetjs",
# wiki
"django_nyt",
"mptt",
"sekizai",
"sorl.thumbnail",
"wiki",
"wiki.plugins.attachments",
"wiki.plugins.notifications",
"wiki.plugins.images",
"wiki.plugins.macros",
#testing
"django_nose",
]
@ -372,20 +359,12 @@ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
ADMIN_USERNAMES = []
# Wiki settings
WIKI_CHECK_SLUG_URL_AVAILABLE = False
# Tell nose to measure coverage on the 'foo' and 'bar' apps
NOSE_ARGS = [
'--with-coverage',
'--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
try:
LOCAL_SETTINGS

View file

@ -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 %}

View file

@ -6,9 +6,6 @@ from django.views.generic import TemplateView
from wagtail.wagtailadmin import urls as wagtailadmin_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
import symposion.views
@ -41,9 +38,6 @@ urlpatterns = [
url(r'^tickets/', include('registrasion.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.
url(r'^', include(wagtail_urls)),

View file

@ -17,9 +17,6 @@ django-debug-toolbar==1.6
# database
mysqlclient>=1.3.3
#Wiki
wiki==0.1.2
# For testing
django-nose==1.4.3
coverage==4.0.3