장고 1.8 이후 patterns 는 없어졌다고 한다
As of Django 1.10, the patterns
module has been removed (it had been deprecated since 1.8).
패턴없이도
urlpatterns = [
url(r'^admin/', admin.site.urls),]
이렇게 쓰는것이 가능
장고 1.8 이후 patterns 는 없어졌다고 한다
As of Django 1.10, the patterns
module has been removed (it had been deprecated since 1.8).
패턴없이도
urlpatterns = [
url(r'^admin/', admin.site.urls),]
이렇게 쓰는것이 가능