Thank you all for the clarification!
On Feb 10, 5:32 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 2/9/07, voltron <[EMAIL PROTECTED]> wrote:
>
> > what are the advantages of adding the apps to the settings file?
>
> Several things:
>
> * If an app is never listed in INSTALLED_APPS, syncdb
Aha! Thanks for the answers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EM
On Feb 10, 8:41 pm, "canen" <[EMAIL PROTECTED]> wrote:
> You don't need INSTALLED_APPS for views, it's more for models if I am
> not mistaken, for example, syncdb won't work if your app is not in
> INSTALLED_APPS.
Yes. Its true
--~--~-~--~~~---~--~~
You received t
You don't need INSTALLED_APPS for views, it's more for models if I am
not mistaken, for example, syncdb won't work if your app is not in
INSTALLED_APPS.
voltron wrote:
> I posted this yesterday, but It did not show up, strange.
>
> According to the manual, one has to add apps to the INSTALLED_APP
On 2/9/07, voltron <[EMAIL PROTECTED]> wrote:
> what are the advantages of adding the apps to the settings file?
Several things:
* If an app is never listed in INSTALLED_APPS, syncdb will never see
it and so will never install DB tables for its models.
* If an app is never listed in INSTALLED_AP
They need to be in INSTALLED_APPS for syncdb to pick up the models
and make any necessary additions to the database.
There may be other uses as well (contrib.admin might use it too, for
example) but I'm not sure.
James
On 09/02/2007, at 11:23 AM, voltron wrote:
>
> Hi all, going bto instal
Hi all, going bto install apps, one must add them to ty the book, the
INSTALLED_APPS tuple setting, I noticed however that one that one can
wire up views and in app directories and they work fine even if not
added to the tuple in the settings file.
My question:
what are the advantages of adding
I posted this yesterday, but It did not show up, strange.
According to the manual, one has to add apps to the INSTALLED_APPS
setting tuple to make the usable in a project. I have created several
test apps with views wired to urls in the projects url conf file, I
was able to call up all urls witho
8 matches
Mail list logo