Create non-localserver "corporate" app with jobs pages.

The corporate "app" is not a full-fledged Django app, but it has
a urls.py and a templates directory.  This commit creates the app
and moves the jobs pages into it.  Localserver deployments will
not see any of the corporate code.

(imported from commit 35889c3cf92329258c30741fdfa564769a4fac1a)
This commit is contained in:
Steve Howell
2013-11-05 17:50:19 -05:00
parent d51ac058e2
commit a827d727cc
6 changed files with 14 additions and 4 deletions

View File

@@ -80,10 +80,6 @@ urlpatterns = patterns('',
url(r'^zephyr-mirror/$', TemplateView.as_view(template_name='zerver/zephyr-mirror.html')),
url(r'^apps/$', TemplateView.as_view(template_name='zerver/apps.html')),
# Job postings
url(r'^jobs/$', TemplateView.as_view(template_name='zerver/jobs/index.html')),
url(r'^jobs/lead-designer/$', TemplateView.as_view(template_name='zerver/jobs/lead-designer.html')),
url(r'^robots\.txt$', RedirectView.as_view(url='/static/robots.txt')),
)
@@ -232,6 +228,10 @@ if not settings.LOCAL_SERVER:
url(r'^', include('zilencer.urls.reports')),
)
urlpatterns += patterns('',
url(r'^', include('corporate.urls')),
)
urlpatterns += patterns('zerver.tornadoviews',
# Tornado views