Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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"
1 Resposta
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.