The first route that is defined under urlpatterns is for django administrtion. You will be asked for your login credentials if you go to this url: http://127.0.0.1:8000/admin/
Second route which has a regex r’^$’ is defined for home. This denotes for an empty string. Therefore if the route is http://127.0.0.1:8000 it calls the home method and renders the view defined in that method.
![https://static.djangoproject.com/img/logos/django-logo-negative.png](https://thequickblog.com/wp-content/uploads/2020/05/django.png)