This problem turned out to be an application issue. I am using GeoDjango and
calling buffer() with a negative value which caused problems on certain
polygons for the underlying GEOS library. Thanks to everyone who responded
off list.
--
--Leo
On Fri, Oct 30, 2009 at 8:48 AM, Leo Shklovskii
I've got a strange problem that I've been trying to figure out over the past
few days with apache suddenly taking up 100% of memory and swap, effectively
killing the server.
The setup is:
Ubuntu Jaunty (fully updated)
nginx/0.6.35 serving static and proxying to:
Apache/2.2.11 (Ubuntu)
mod_wsgi
Pyt
Has anyone gotten the MaxMind GeoIP functionality working on Windows?
I'm having a tough time getting the dll compiled from source and can't
seem to find it anywhere.
--
--Leo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
I'd like to write some code that modifies a page depending on whether
the view that generated it requires login or not. Right now all such
views are decorated with @login_required.
My initial thoughts on how to do this (coming from java) would be to
slap an annotation on the views that are sec
Awesome! Thanks for pointing that out Jonathan! I didn't find that when
I was searching the Django Trac.
--
--Leo
Jonathan Buchanan wrote:
> On 10/24/07, Leo Shklovskii <[EMAIL PROTECTED]> wrote:
>> You also want to look here for a suggestion on how to access
>> sett
You also want to look here for a suggestion on how to access
settings.MEDIA_URL:
http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/
I know (at least one of) the ticket(s) for embedding access to the
MEDIA_URL in the default context has been closed as wontfix, but
Does anyone have any thoughts on this? is there a recommended way to lay
out the templates on a per-application basis? does it make sense to
change either of the two defaults to be consistent with each other?
--
--Leo
Leo Shklovskii wrote:
> I've got a question about the templates
I've got a question about the templates that the generic views load.
I have a app (named 'foo' in this example) that has its templates in a
templates folder to work with
django.template.loaders.app_directories.load_template_source.
so:
foo/templates/bar.html
foo/templates/bar_list.html
Howeve
Thanks Tim! That's a cool way of looking at it.
I don't actually need to pass the uuid to a browser via JSON, I just
need to store the uuid as a member field of an object in my db and be
able to provide a fixture with it.
What I've ended up doing is importing the uuid library (which can be
fo
I've been able to dig into this a little bit more and it looks like
django.utils.simplejson.decoder doesn't support the '\x' escape
character. Is this an intentional omission, a bug in Django, or just me
misunderstanding Python?
--
--Leo
Leo Shklovskii wrote:
>
Hi,
I'm trying to represent an Active Directory's user guid in Django. In
AD, its a 128 bit integer that I can pull out with using the ldap
library. When I access the guid, python treats it as a string with most
of the characters escaped, so something like:
"\xdd3\x9e0\xd9\xf4\x93B\x90\xdehDe
11 matches
Mail list logo