The relative imports make it clearer what code is within the project and where it's coming from.
7 lines
132 B
Python
7 lines
132 B
Python
from django.conf.urls import url, include
|
|
|
|
from . import views as cpatch_views
|
|
|
|
urlpatterns = [
|
|
url(r'', cpatch_views.index),
|
|
]
|