On Dec 12, 2007, at 3:19 PM, Robert Coup wrote:
>
> On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote:
>> How can you check that only authorized users can access
>> some files?
>>
>> Files which have a coresponding FileField in the model: How can
>> you test that only some people are allow
Am Mittwoch, 12. Dezember 2007 21:34 schrieb SmileyChris:
> On Dec 13, 9:19 am, "Robert Coup" <[EMAIL PROTECTED]>
>
> wrote:
> > On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote:
> > > How can you check that only authorized users can access
> > > some files?
>
> Thomas, you might want to tr
On 12 dic, 01:30, "Mike Scott" <[EMAIL PROTECTED]> wrote:
> Hey All,
>
> I've been looking at how to better serve my static files for django sites,
> and I'm particularly interested in things like Javascript handling.
>
> For example if we were to look at RoR, they have their include tags which
On Dec 13, 9:19 am, "Robert Coup" <[EMAIL PROTECTED]>
wrote:
> On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote:
>
> > How can you check that only authorized users can access
> > some files?
Thomas, you might want to try out http://code.djangoproject.com/ticket/3583
It needs some testing/
On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote:
> How can you check that only authorized users can access
> some files?
>
> Files which have a coresponding FileField in the model: How can
> you test that only some people are allowed to see it?
>
> Apache can't do it. Or at least it would
Am Mittwoch, 12. Dezember 2007 01:48 schrieb [EMAIL PROTECTED]:
> It sounds like you're actually proposing two things here.
>
> 1) Using Django to serve static files. There already exists a
> mechanism for Django to accomplish this during development, detailed
> here: http://www.djangoproject.com
On 12/12/2007, Mike Scott <[EMAIL PROTECTED]> wrote:
> I've been looking at how to better serve my static files for django sites,
> and I'm particularly interested in things like Javascript handling.
>
> For example if we were to look at RoR, they have their include tags which can
> automaticall
It sounds like you're actually proposing two things here.
1) Using Django to serve static files. There already exists a
mechanism for Django to accomplish this during development, detailed
here: http://www.djangoproject.com/documentation/static_files/ ,
although it's not a good idea to use this
Mike Scott said the following:
> Is this an approach the bulk of the Django community are interested in
> taking or is it something that we should leave to the things that do it
> best, ie: Apache and the like.
-1 to handling media through Django, that's the job of the webserver :)
--
Collin Gr
Hey All,
I've been looking at how to better serve my static files for django sites,
and I'm particularly interested in things like Javascript handling.
For example if we were to look at RoR, they have their include tags which
can automatically compile javascript into one big file, compressing and
10 matches
Mail list logo