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!