mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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)
9 lines
332 B
Python
9 lines
332 B
Python
from django.conf.urls import patterns, url
|
|
from django.views.generic import TemplateView
|
|
|
|
urlpatterns = patterns('',
|
|
# Job postings
|
|
url(r'^jobs/$', TemplateView.as_view(template_name='corporate/jobs/index.html')),
|
|
url(r'^jobs/lead-designer/$', TemplateView.as_view(template_name='corporate/jobs/lead-designer.html')),
|
|
)
|