Re: Application Concepts

2008-04-15 Thread Malcolm Tredinnick
On Tue, 2008-04-15 at 08:23 +0100, andy baxter wrote: > James Bennett wrote: > > On Fri, Apr 11, 2008 at 1:09 PM, andy baxter > > <[EMAIL PROTECTED]> wrote: > > > >> What /should/ be inside the project folder? > >> > > > > I often get severely flamed for saying this, but: > > > > I very

Re: Application Concepts

2008-04-15 Thread andy baxter
James Bennett wrote: > On Fri, Apr 11, 2008 at 1:09 PM, andy baxter > <[EMAIL PROTECTED]> wrote: > >> What /should/ be inside the project folder? >> > > I often get severely flamed for saying this, but: > > I very rarely have a "project folder". All it is is a place to stick a > settings

Re: Application Concepts

2008-04-14 Thread Steingrim Dovland
On Mon, Apr 14, 2008 at 11:40 AM, James Bennett <[EMAIL PROTECTED]> wrote: > I very rarely have a "project folder". All it is is a place to stick a > settings file and a root URLConf module, both of which are just plain > old Python files which can live anywhere you can import from. Besides se

Re: Application Concepts

2008-04-14 Thread Waldemar Kornewald
On 14 Apr., 13:12, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 6:03 AM, Waldemar Kornewald > > <[EMAIL PROTECTED]> wrote: > >  I agree that you can't always reuse those media files, but why does > >  that mean there shouldn't be an easy (automatic) way to serve media > >  

Re: Application Concepts

2008-04-14 Thread James Bennett
On Mon, Apr 14, 2008 at 6:03 AM, Waldemar Kornewald <[EMAIL PROTECTED]> wrote: > I agree that you can't always reuse those media files, but why does > that mean there shouldn't be an easy (automatic) way to serve media > files? Because Django should have nothing whatsoever to do with your medi

Re: Application Concepts

2008-04-14 Thread Waldemar Kornewald
On 14 Apr., 11:45, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10, 2008 at 2:49 AM, jurian <[EMAIL PROTECTED]> wrote: > >  Does anyone else think I should add a ticket request for this as a > >  future feature? > > I'm ambivalent, but leaning toward "no". In my experience, it's very >

Re: Application Concepts

2008-04-14 Thread James Bennett
On Thu, Apr 10, 2008 at 2:49 AM, jurian <[EMAIL PROTECTED]> wrote: > Does anyone else think I should add a ticket request for this as a > future feature? I'm ambivalent, but leaning toward "no". In my experience, it's very rare to have media files that are truly coupled to a single specific app

Re: Application Concepts

2008-04-14 Thread James Bennett
On Fri, Apr 11, 2008 at 1:09 PM, andy baxter <[EMAIL PROTECTED]> wrote: > What /should/ be inside the project folder? I often get severely flamed for saying this, but: I very rarely have a "project folder". All it is is a place to stick a settings file and a root URLConf module, both of which a

Re: Application Concepts

2008-04-14 Thread Waldemar Kornewald
On 10 Apr., 09:49, jurian <[EMAIL PROTECTED]> wrote: > Does anyone else think I should add a ticket request for this as a > future feature? Yes, please do. I can even contribute some code if that feature will make it into django. The only thing you need to do is specify a MEDIA_URL in your setti

Re: Application Concepts

2008-04-11 Thread Erik Vorhes
It doesn't necessarily hurt to have apps inside the project folder, but it does make it harder to extract and reuse them. If I remember correctly, you don't need much, aside from settings.py, urls.py, and __init__.py. On Fri, Apr 11, 2008 at 1:09 PM, andy baxter <[EMAIL PROTECTED]> wrote: > >

Re: Application Concepts

2008-04-11 Thread andy baxter
James Bennett wrote: > On Tue, Apr 8, 2008 at 1:38 AM, jurian <[EMAIL PROTECTED]> wrote: > >> Are django applications meant to be implemented in such a manner as to >> allow the entire application directory to be copied into another >> project and used without having to alter any of the code

Re: Application Concepts

2008-04-11 Thread Juanjo Conti
jurian escribió: > Does anyone else think I should add a ticket request for this as a > future feature? I do. Juanjo -- mi blog: http://www.juanjoconti.com.ar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Application Concepts

2008-04-10 Thread jurian
Does anyone else think I should add a ticket request for this as a future feature? On Apr 9, 7:32 pm, Waldemar Kornewald <[EMAIL PROTECTED]> wrote: > > Most of this can be automated (scanning installed apps for media > folders, generating urlpatterns, etc.) and IMHO Django should provide > a sta

Re: Application Concepts

2008-04-09 Thread Waldemar Kornewald
Hi, On 8 Apr., 09:03, jurian <[EMAIL PROTECTED]> wrote: > I like that concept. > > How does one go about including media files required for an > application to function then? > (I don't really know how to do this in the project/app configuration > either) Unfortunately, there is no standard way

Re: Application Concepts

2008-04-08 Thread jurian
I like that concept. How does one go about including media files required for an application to function then? (I don't really know how to do this in the project/app configuration either) James Bennett wrote: > On Tue, Apr 8, 2008 at 1:38 AM, jurian <[EMAIL PROTECTED]> wrote: > > Are django app

Re: Application Concepts

2008-04-07 Thread James Bennett
On Tue, Apr 8, 2008 at 1:38 AM, jurian <[EMAIL PROTECTED]> wrote: > Are django applications meant to be implemented in such a manner as to > allow the entire application directory to be copied into another > project and used without having to alter any of the code? Though I often get flamed fo

Application Concepts

2008-04-07 Thread jurian
Are django applications meant to be implemented in such a manner as to allow the entire application directory to be copied into another project and used without having to alter any of the code? --~--~-~--~~~---~--~~ You received this message because you are subscrib