By registering an app you take full advantage of the framework: https://docs.djangoproject.com/en/2.0/ref/applications/#application-registry
You can import "things" (modules, functions, etc.) from any python module in the path, that's why you are able to import any python code from your project directory, despite of not being registered as an app. That's a regular python import, like "import os", it does not correspond to the Django. HTH On Tue, Dec 19, 2017 at 3:26 AM, Mukul Agrawal <amuku...@gmail.com> wrote: > I am a bit confused that is it necessary to write the name of the app in > the INSTALLED_APPS in settings.py. Because whether I write it or not, I am > able to successfully run my project. Then what is the difference between > the two method. > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/f869b60a-76cf-4a95-b2f0-9c854f79101b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f869b60a-76cf-4a95-b2f0-9c854f79101b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BFDnhJf4u5cDauP7iAw2Wt_aFj2OZNfgaNP935NoC5ehNx6mA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.