The best point is to be able to reuse applications in different projects. There will be problem if you are saving all your URLs in the “projecturl.py” file. So best practice is to create an “url.py” per application and to include it in your main projects url.py file.
Most of the tutorial recomends you create a url.py inside your app (as polls for example). Is it a bad practice using only url.py from the main project folder?Thanks for your attention.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0c93108f-370b-4555-8a65-e6d78f829e36%40googlegroups.com.