twoscoops / two-scoops-of-django-1.11

The issue tracker, changelog, and code repository for Two Scoops of Django 1.11

Home Page:https://www.twoscoopspress.com/products/two-scoops-of-django-1-11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarification about core/urls.py

simkimsia opened this issue · comments

Location within the Book

  • Chapter or Appendix: 16
  • Section: 16.3.1

Description

We always place routers in urls.py.

Which urls.py you referring to? the urls.py within the api folder or the urls.py within the config folder?

Yes. Put routers in the urls.py at either level. Don't put them in other modules named other things.

🚢 🍨 You'll be given mention in the acknowledgements of the next edition!