
* Removed {% load url from future %}, deprecated in 1.7 removed in 1.9. See [1] * Removed urlpatterns() from url file. Deprecated 1.8 removed 1.10. See [2] * django 1.9+ overextends builtins need adding to settings, but 1.10+ we can use native django features. Will remove overextends when we drop support for anything less than django 1.11 [1] https://docs.djangoproject.com/en/1.9/releases/1.7/#loading-ssi-and-url-template-tags-from-future-library [2] https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns Change-Id: Ief7dc4d5025284b0fc26a6386c1c41e0d701fe23
23 lines
772 B
Python
23 lines
772 B
Python
# Copyright 2013 Centrin Data Systems Ltd.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from django.conf.urls import url
|
|
|
|
from adjutant_ui.content.email import views
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.EmailView.as_view(), name='index')
|
|
]
|