Merge branch 'master' of github.com:northbaypython/website
This commit is contained in:
commit
f690dafcc8
5 changed files with 62 additions and 1 deletions
|
@ -132,11 +132,14 @@ 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",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
TEMPLATE_DEBUG = False
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = [
|
MIDDLEWARE_CLASSES = [
|
||||||
"django.contrib.sessions.middleware.SessionMiddleware",
|
"django.contrib.sessions.middleware.SessionMiddleware",
|
||||||
"django.middleware.common.CommonMiddleware",
|
"django.middleware.common.CommonMiddleware",
|
||||||
|
@ -212,6 +215,18 @@ INSTALLED_APPS = [
|
||||||
#testing
|
#testing
|
||||||
"django_nose",
|
"django_nose",
|
||||||
|
|
||||||
|
# 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
|
# stylesheets and js
|
||||||
'compressor',
|
'compressor',
|
||||||
]
|
]
|
||||||
|
@ -309,6 +324,13 @@ TICKET_PRODUCT_CATEGORY = 1
|
||||||
|
|
||||||
INVOICE_CURRENCY = "USD"
|
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
|
# Use nose to run all tests
|
||||||
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
|
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
<p>The only hotel in Downtown Petaluma is a recently renovated boutique hotel in a 1920s-era building. It's a short walk from North Bay Python's venue, and is close to Petaluma's best places to eat and drink.</p>
|
<p>The only hotel in Downtown Petaluma is a recently renovated boutique hotel in a 1920s-era building. It's a short walk from North Bay Python's venue, and is close to Petaluma's best places to eat and drink.</p>
|
||||||
|
|
||||||
<p>Hotel Petaluma has offered all of their available rooms to North Bay Python attendees, so if you want to stay as close as possible to the venue, book through our exclusive link by November 1st.</p>
|
<p>Hotel Petaluma has offered all of their available rooms to North Bay Python attendees, so if you want to stay as close as possible to the venue, book through our exclusive link.</p>
|
||||||
|
|
||||||
<h3>Sheraton Petaluma</h3>
|
<h3>Sheraton Petaluma</h3>
|
||||||
|
|
||||||
|
|
32
pinaxcon/templates/wiki/base.html
Normal file
32
pinaxcon/templates/wiki/base.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{% extends "wiki/base_site.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
{% load compress %}
|
||||||
|
{% load sitetree %}
|
||||||
|
{% load sekizai_tags %}
|
||||||
|
|
||||||
|
{% block wiki_body %}
|
||||||
|
{% addtoblock "css" %}
|
||||||
|
{% compress css %}
|
||||||
|
<link rel="stylesheet" type="text/x-scss" href="{% static "scss/site.scss" %}">
|
||||||
|
{% endcompress %}
|
||||||
|
{% endaddtoblock %}
|
||||||
|
|
||||||
|
{{ block.super }}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block wiki_site_title %} - North Bay Python Wiki{% endblock %}
|
||||||
|
|
||||||
|
{% block wiki_header_branding %}
|
||||||
|
<a class="navbar-brand" href="/">North Bay Python</a>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block wiki_header_navlinks %}
|
||||||
|
<ul class="nav navbar-nav">
|
||||||
|
<li class="active"><a href="{% url 'wiki:root' %}">Wiki</a></li>
|
||||||
|
{% sitetree_menu from "main" include "trunk" template "sitetree/menu_bootstrap3.html" %}
|
||||||
|
</ul>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block wiki_footer_prepend %}
|
||||||
|
All contributions to this wiki page are licensed under a Creative Commons Attribution-ShareAlike 4.0 licence.
|
||||||
|
{% endblock %}
|
|
@ -4,6 +4,8 @@ from django.conf.urls.static import static
|
||||||
from django.contrib.staticfiles.templatetags.staticfiles import static as _static
|
from django.contrib.staticfiles.templatetags.staticfiles import static as _static
|
||||||
from django.views.generic import TemplateView
|
from django.views.generic import TemplateView
|
||||||
from django.views.generic import RedirectView
|
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
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
|
@ -95,10 +97,14 @@ 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')),
|
||||||
|
|
||||||
|
url(r'^wiki/notifications/', get_nyt_pattern()),
|
||||||
|
url(r'^wiki/', get_wiki_pattern())
|
||||||
|
|
||||||
# Catch-all MUST go last.
|
# Catch-all MUST go last.
|
||||||
#url(r"^", include("pinax.pages.urls")),
|
#url(r"^", include("pinax.pages.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
||||||
handler500 = views.server_error
|
handler500 = views.server_error
|
||||||
|
|
|
@ -17,6 +17,7 @@ django-countries==4.6.1
|
||||||
easy-thumbnails==2.4.1
|
easy-thumbnails==2.4.1
|
||||||
django-timezone-field==2.0
|
django-timezone-field==2.0
|
||||||
django-model-utils==3.0.0
|
django-model-utils==3.0.0
|
||||||
|
wiki==0.3b3
|
||||||
|
|
||||||
|
|
||||||
# For testing
|
# For testing
|
||||||
|
|
Loading…
Reference in a new issue