0

Why do we add our Django app to installed apps?

Can someone explain to me why we add our Django app in the settings.py file under installed apps . Or and please explain better than - "So that Django knows we have created a new app"

24th Oct 2021, 2:08 PM
Richard
Richard - avatar
1 Respuesta
0
In urls.py while defining name of view function that will handle the requested url we can use 'app_name.function_name' directly to refer to the specific function without importing views.py in your urls.py. It actually mainly helps in url management.
29th Oct 2021, 8:50 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar