tools: Create /devtools page for useful dev URLs.

Fixes #5179.
This commit is contained in:
Cory Lynch
2017-06-13 20:01:01 -04:00
committed by Tim Abbott
parent 3e10bdf0e8
commit cb4dadfdcd
5 changed files with 66 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
from django.conf.urls import url
from django.conf import settings
from django.views.generic import TemplateView
import os.path
from django.views.static import serve
import zerver.views.registration
@@ -34,6 +35,9 @@ urls = [
# Page for testing email templates
url(r'^emails/$', zerver.views.test_emails.email_page),
# Listing of useful URLs and various tools for development
url(r'^devtools/$', TemplateView.as_view(template_name='zerver/dev_tools.html')),
]
i18n_urls = [