misc: don't use deprecated patterns object (#18562)
This commit is contained in:
parent
af04037584
commit
d03ba6d1d4
|
@ -15,12 +15,12 @@
|
|||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from django.conf import settings
|
||||
from django.conf.urls import patterns, url
|
||||
from django.conf.urls import url
|
||||
|
||||
urlpatterns = patterns('',
|
||||
urlpatterns = [
|
||||
url(r'^$', 'wcs.views.home', name='home'),
|
||||
url(r'^backoffice/', 'wcs.views.backoffice'),
|
||||
)
|
||||
]
|
||||
|
||||
# other URLs are handled by the quixote handler
|
||||
urlpatterns += patterns('', url(r'', 'wcs.compat.quixote', name='quixote'))
|
||||
urlpatterns.append(url(r'', 'wcs.compat.quixote', name='quixote'))
|
||||
|
|
Loading…
Reference in New Issue