Re: what is the best way to capture the subdomain and send it to a view?

2006-01-05 Thread Daniel Poelzleithner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le Roux wrote: > Thanks. I'll do that. It just feels like that type of thing should > happen outside of the view (and come to the view as a parameter). The > other thing is that _all_ my views will need this and to me that just > feels a bit dirty. I

Re: SQLite threading

2006-01-10 Thread Daniel Poelzleithner
David S. wrote: > So anyway, is it a reasonable assertion that if the app is actually to have > more > than 1 user--and in fact if it is going to run with Apache--then SQLite is > right > out? No, trac for example uses sqlite, too and it runs fine. I don't know about this particular behaviour,

Django API doc

2006-03-22 Thread Daniel Poelzleithner
Hi, i created a css to build a django styled API doc with epydoc. http://djangoapi.quamquam.org/ Beta Version :) I hope we can integrate it as http://api.djangoproject.com someday. kindly regards daniel --~--~-~--~~~---~--~~ You received this message becaus

Re: Django API doc

2006-03-23 Thread Daniel Poelzleithner
Adrian Holovaty wrote: > Nicely done! I think for the final product we'd want Wilson's loving > design touches. Also, this does a good job of pointing out the areas > in which we need to add docstrings. this will not be fun for wilson ;) the html code really sucks at some parts. i had some more

Re: Django-based wiki engine

2006-04-30 Thread Daniel Poelzleithner
iGL wrote: > Hi, > Has anybody been working on a django-based wiki engine on the lines of > django.contrib? > I'd much appreciate hints on such projects... I'm working on a django wiki, whoever it will need some weeks for a more or less useable state. It's part of a django suite for public mash

Re: Checking For Existing Rows

2006-06-27 Thread Daniel Poelzleithner
Tyson Tate wrote: > However, raising an exception on "success" irks the part of me that > studied computer science for 3 years, so I'm wondering if anyone > knows of any other ways I might be able to achieve the above in a > better way. Compared to other languages, exception in python are

For those who like map meshups

2006-08-11 Thread Daniel Poelzleithner
Hi, for the open mesh network app i'm writing, I needed a way for creating a topology overlay in google maps. Using polygons was simply to slow, so I decided to render my own tiles. I use matplotlib + basemap for generating the tiles on demand. On my lokal machine that works nice, but on the tota

Locking problem with mod_python

2006-08-15 Thread Daniel Poelzleithner
Hi, I have a function that generates a tile for a google map overlay and writes it to disc so later requests can simply use the file. Due the nature of the map, generating the tiles previous is not a option so it has to be done on demand, which works nice on the developer server but not on apache

Re: Locking problem with mod_python

2006-08-16 Thread Daniel Poelzleithner
Ian Holsman wrote: > aren't semaphores inter-process (not cross process)? > > try using a file handle instead.. After further investigation, i found out that locking of any kind doesn't work with apache in prefolk mode, and more or less in the threaded mode. I haven't found a nice and clean solut

Re: Locking problem with mod_python

2006-08-16 Thread Daniel Poelzleithner
Ivan Sagalaev wrote: > As Ian has pointed you can use file system as a device for locking > between separate processes. This is not really something specific to Django. Yes i know. There would be other solutions like shm, or global mutexes, but filelocks seem to be the best of the worst. Howeve

Re: Web Platform Contest

2006-10-11 Thread Daniel Poelzleithner
Juergen Barth wrote: > Maybe this is interesting for some Djangoers out there? I wanted to ask but you beat me ;) So, anyone else wants to participate ? kindly regards Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go