mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import os
|
||||
|
||||
from django.conf.urls import url
|
||||
from django.utils._os import upath
|
||||
from django.views.static import serve
|
||||
|
||||
here = os.path.dirname(upath(__file__))
|
||||
here = os.path.dirname(__file__)
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^custom_templates/(?P<path>.*)$', serve, {
|
||||
|
||||
Reference in New Issue
Block a user