Tag: urls.W002

Django url warning – / 제거?

django2.2 에서, 하나의 프로젝트에 여러개의 app을 들어서 app을 실행했을때 아래와같은 경고가 발생하는 경우, WARNINGS: ?: (urls.W002) Your URL pattern ‘/catsel/’ [name=’select’] has a route beginning with a ‘/’. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing ‘/’. System check identified 1 …

Continue reading