On 17/05/2016 1:42 AM, Asi Dimbez wrote:
> Hi,
> I'm a newbie, there is thing not clear to me in the tutorial, part 2.Â
> I left part 1 with poll app working ok.
> In the tutorial, part 2, I read about INSTALLED_APPS :"Â That holds the
> names of all Django applications that are activated in this Django
> instance.."
> Now, poll app worked from part 1 even without being listed in
> INSTALLED_APPS hence a simple app doesn't need to lie there in order to
> work.
I can't remember the polls app clearly but I don't think you were using
the web framework part of Django to get it working. If I recall, it was
all in the console because the focus was only object/relational mapping
and database.
> So I thought that INSTALLED_APPS holds all the apps which use a
> database, but I also read:
> Some of these applications make use of at least one database table
> So it seems that there can be even apps listed in INSTALLED_APPS which
> don't use any database.
True.
>
> So, my question is: what are axactly those apps that need to be listed
> in INSTALLED_APPS?
Apps which Django needs to know about in the web framework. In other
words, apps with models, urls, views and templates or which have
utilities called from such apps using the app_name as a namespace.
> Thanks
> Asi
>
>
> --
> 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
> <mailto:
django-users...@googlegroups.com>.
> To post to this group, send email to
django...@googlegroups.com
> <mailto:
django...@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/5578c62f-7b90-419b-acc7-dadbe592f7d6%40googlegroups.com
> <
https://groups.google.com/d/msgid/django-users/5578c62f-7b90-419b-acc7-dadbe592f7d6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.