Slide 20
Slide 20 text
Some minimal best practices
● urls
○ design pretty urls
■ use slugs instead of primary keys
○ Each of the urls should have a name, corresponding
to the view name.
○ There should be one urls.py at the project level, and
one urls.py at each app level. The project level urls.
py should include each of the urls.py under a prefix.
Further Reading