Changeset - a3af1be7574c
[Not reviewed]
0 3 0
Christopher Neugebauer - 6 years ago 2017-11-13 00:45:05
chrisjrn@gmail.com
Adds wiki support
3 files changed with 29 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -134,2 +134,3 @@ TEMPLATES = [
 
                "symposion.reviews.context_processors.reviews",
 
                "sekizai.context_processors.sekizai",
 
            ],
...
 
@@ -139,2 +140,4 @@ TEMPLATES = [
 

	
 
TEMPLATE_DEBUG = False
 

	
 
MIDDLEWARE_CLASSES = [
...
 
@@ -214,2 +217,14 @@ INSTALLED_APPS = [
 

	
 
    # wiki
 
    'django.contrib.humanize',
 
    'django_nyt',
 
    'mptt',
 
    'sekizai',
 
    'sorl.thumbnail',
 
    'wiki',
 
    'wiki.plugins.attachments',
 
    'wiki.plugins.notifications',
 
    'wiki.plugins.images',
 
    'wiki.plugins.macros',
 

	
 
    # stylesheets and js
...
 
@@ -311,2 +326,9 @@ INVOICE_CURRENCY = "USD"
 

	
 
WIKI_ACCOUNT_HANDLING = False
 
WIKI_ACCOUNT_SIGNUP_ALLOWED = False
 

	
 
WIKI_ANONYMOUS_WRITE = False
 
WIKI_ANONYMOUS_UPLOAD = False
 

	
 

	
 
# Use nose to run all tests
pinaxcon/urls.py
Show inline comments
...
 
@@ -6,2 +6,4 @@ from django.views.generic import TemplateView
 
from django.views.generic import RedirectView
 
from django_nyt.urls import get_pattern as get_nyt_pattern
 
from wiki.urls import get_pattern as get_wiki_pattern
 

	
...
 
@@ -87,2 +89,5 @@ urlpatterns = [
 

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

	
 
    # Catch-all MUST go last.
...
 
@@ -91,2 +96,3 @@ urlpatterns = [
 

	
 

	
 
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
requirements/base.txt
Show inline comments
...
 
@@ -19,2 +19,3 @@ django-timezone-field==2.0
 
django-model-utils==3.0.0
 
wiki==0.3b3
 

	
0 comments (0 inline, 0 general)