flup provides the umask init field so that you can change the mask of
a unix socket you're using to talk fast cgi.
Django doesn't seem to pass this through so I wrote this trival patch.
Someone might be interested.
Apologies if this is not the right place.
--
Nic Ferrier
http://www.tapsellfe
Kenneth Gonsalves <[EMAIL PROTECTED]> writes:
> On 09-Jun-07, at 12:20 AM, Kenneth Gonsalves wrote:
>
>>> Strong python, javascript, CSS, postgres, jquery (or alike),
>>> debugging
>>> and lots of general experience in software development. And when I
>>> say
>>> CSS, I don't mean graphic des
ZebZiggle <[EMAIL PROTECTED]> writes:
> Strong python, javascript, CSS, postgres, jquery (or alike), debugging
> and lots of general experience in software development. And when I say
> CSS, I don't mean graphic design skills, but knowing how to take a
> graphic design and translate it into CSS.
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> I've been reading this to get lightTPD and fastcgi configured on my
> machine:
> http://www.djangoproject.com/documentation/fastcgi/
>
> There, it says to add this to your lighttpd.conf:
>
> server.document
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Yah, weird.
>
> Is there any advantage of using a socket or tcp?
A unix socket might be _marginally_ faster.
But TCP avoids ownership issues of sockets which are a pain in the
butt.
--
Nic Ferrier
http://www.tapsellferrier.co.uk
--~--~---
Nic James Ferrier <[EMAIL PROTECTED]> writes:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
>
>> Yah, weird.
>>
>> Is there any advantage of using a socket or tcp?
>
> A unix socket might be _marginally_ faster.
>
> But TCP avoids
walterbyrd <[EMAIL PROTECTED]> writes:
> I have been reading that django is good for CMS type sites, but not
> especially good for other types of web applications. For example:
> financial applications. I have read that TurboGears is better for
> those other apps.
That seems like nonsense.
I am
Derek Anderson <[EMAIL PROTECTED]> writes:
> hey all,
>
> could anyone point me to a python html sanitizer implementation (or
> example)? i don't mean to strip all html, just tags and attributes not
> on a whitelist, such as I/B/A href/U/etc.
I use libxml2/libxslt, something like:
doc = li
Brett Parker <[EMAIL PROTECTED]> writes:
> On Fri, Jul 13, 2007 at 11:18:18AM +0100, Nic James Ferrier wrote:
>>
>> Derek Anderson <[EMAIL PROTECTED]> writes:
>>
>> > hey all,
>> >
>> > could anyone point me to a python html sanitiz
Rob Hudson <[EMAIL PROTECTED]> writes:
> Python and Django wouldn't be my concern when hiring new employees
> since they are easy to learn. It's all the other stuff that comes
> with web development that together is harder to find (eg: valid
> (x)HTML, CSS, Javascript, database, source control,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Hi all,
>
> some time ago, probably on this list, someone posted a link to a
> component in Flash with which you could do file upload from Django.
> The component featured a progress bar.
>
> Does anybody have a link to it?
Not to hand... but it'
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Hi,
> I'm trying to implement a REST service with django and I have a
> problem in authentication.
> My current approach is with .htaccess with apache password(Basic
> Authentication), simple and straight.
> But I want to validate users in django,
Chris Hoeppner <[EMAIL PROTECTED]> writes:
> Maybe something like
>
> def save(self):
> self.imageField = pil.thumbnail(self.imageField)
>
> Can't really tell if I'm on the right track here.
Search the list... I've got this from the list:
IMAGE_SIZE = [300, 300]
THUMBNAIL_SIZE = [100
Chris Hoeppner <[EMAIL PROTECTED]> writes:
> If I get this right, you're saving the original file, and a separate
> thumb file. While this seems interesting, it's not what I want to
> implement. It's more of a bit of catching the incoming data and
> transforming it before it gets saved in the mod
Bram - Smartelectronix <[EMAIL PROTECTED]> writes:
> I would LOVE to use caching for both anonymous and logged in users, but
> the problem is that every page on our site (http://www.splicemusic.com)
> has the typical "hello username | log out | ..." at the top of each page.
>
> Now, how can I p
"Greg Donald" <[EMAIL PROTECTED]> writes:
>> 1) beginner
>> 2) intermediate
>> 3) expert
>
> 0) None
>
> But what about experience in other programming languages? If you
> currently know zero programming languages, learning any new
> programming language or framework will require some significan
I've been using Django for a few weeks now and I have to say, despite
my general hatred of frameworks, I'm quite impressed with it. It is
very fast to get up and going, the ORM works pretty well. New forms
are really, really good.
I don't like learning new template languages though... so I plugge
"James Bennett" <[EMAIL PROTECTED]> writes:
> On 5/11/07, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>> First I missing a way to sync the database with the model. The command
>> syncdb has a bad name. It should be called initdb. But you can live
>> without autosync: Redirect the output of sqlall
"James Bennett" <[EMAIL PROTECTED]> writes:
> On 5/11/07, Nic James Ferrier <[EMAIL PROTECTED]> wrote:
>> Something needs to be done though... or ongoing maintenance of Django
>> apps is going to be really hard.
>
> I haven't found it terribly
Eugene Morozov <[EMAIL PROTECTED]> writes:
> On 11 май, 13:23, Nic James Ferrier <[EMAIL PROTECTED]>
> wrote:
>> def user_alerts(request, user_name):
>> me = get_object_or_404(User, username=user_name)
>> alerts = Alert.objects.filter(user=me, seen=F
Eugene Morozov <[EMAIL PROTECTED]> writes:
>> - there is proper separation between data and style, my JSON doesn't
>> include any stylistic information, only stuff that describes the data
>
> I still think that your example is not the best. "div" and "span" has
> no semantic meaning, they're ju
To talk django and python?
Anyone?
--
Nic Ferrier
http://www.tapsellferrier.co.uk
--~--~-~--~~~---~--~~
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@googlegr
Kyle Fox <[EMAIL PROTECTED]> writes:
> The S3 API requires the file data to be in the format the
> open(myfile).read() returns (whatever that is).
>
> Is there a way to get the same data from an in-memory Image instance,
> so I don't need to save/re-read/delete each thumbnail file?
Surely the be
"=?ISO-8859-1?Q?Fr=E9d=E9ric_Sidler?=" <[EMAIL PROTECTED]>
writes:
> openfount provide something that does the trick
> http://www.openfount.com/blog/s3dfs-for-ec2
>
> and adrian holovaty did something like that some weeks ago for
> chicagocrime.org
> http://www.holovaty.com/blog/archive/2006/04/0
Daniel Ellison <[EMAIL PROTECTED]> writes:
> Sounds like this might end up being the highest-traffic Django site there
> is! :)
Errr... I might be in competition with you there.
/8->
--
Nic Ferrier
http://www.tapsellferrier.co.uk
--~--~-~--~~~---~--~~
You
Daniel Ellison <[EMAIL PROTECTED]> writes:
> On Thursday 31 May 2007 11:26:37 Nic James Ferrier wrote:
>> Daniel Ellison <[EMAIL PROTECTED]> writes:
>> > Sounds like this might end up being the highest-traffic Django site there
>> > is! :)
>>
>&g
Michael Lim <[EMAIL PROTECTED]> writes:
> Hi all,
>
> Sorry, my email is
>
> lim ck michael gmail com
Ermmm It tells us that in the mail header.
--
Nic Ferrier
http://www.tapsellferrier.co.uk
--~--~-~--~~~---~--~~
You received this message because y
Michael Lim <[EMAIL PROTECTED]> writes:
> Not in Google Groups. The email is masked off as shown in the reply
> thread shown below :-)
Bizarre!
--
Nic Ferrier
http://www.tapsellferrier.co.uk
--~--~-~--~~~---~--~~
You received this message because you are su
Tim Chase <[EMAIL PROTECTED]> writes:
>>> Sorry, my email is
>>
>> Ermmm It tells us that in the mail header.
>
> But it doesn't tell us where this is geographically in the
> header, the body, or in the follow-up email :)
It's in cyberspace, man.
--
Nic Ferrier
http://www.tapsellferrier.
29 matches
Mail list logo