Re: dbsettings, and user configurable app settings

2010-02-26 Thread Wes Winham
I'd love to see a better way of managing settings in the core of django. It's a real pain point sometimes for writing and using pluggable applications and there's a wide range of ways that application developers try to tackle it. Some have basically no settings, some plan on users reading the docum

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2009-10-15 Thread Wes Winham
The common use case on my projects is definitely to trim whitespace. The autostrip decorator I found on djangosnippets (http:// www.djangosnippets.org/snippets/956/) is pretty awesome, but I'd prefer not to import that into every project and it would be nice to not call: > MyForm = autostrip(MyFo

Re: Patch: adding a msg parameter to assertContains and similar methods in the test client

2009-10-12 Thread Wes Winham
I love the prefix idea. Seems like the best of both worlds. I also agree that changing the name to either ``prefix`` or ``msg_prefix`` would probably be preferable, to explicitly indicate that the behavior is different than the standard msg argument. This would certainly satisfy my use case. -we

Re: Patch: adding a msg parameter to assertContains and similar methods in the test client

2009-10-08 Thread Wes Winham
I haven't looked at the proposed patch, but I'd like very much to be able to add a ``msg`` argument to assertContains and assertRedirects at least. The point of the msg argument in normal asserts is to give the person running the tests a quick, high-level indication of what went wrong or what was

Re: Looking for a project

2009-10-01 Thread Wes Winham
django-schedule is a backend and frontend, just not a CalDAV backend. The app is definitely more oriented to being stand-alone right now though, but that's more because of where work has been done than a design choice I think. There's been some work lately around adding a slicker UI (JQuery Fullca

Re: media -> admin_media Prefix Change

2009-09-11 Thread Wes Winham
> Given that both MEDIA_PREFIX and ADMIN_MEDIA_PREFIX are easily set in > settings.py, I can't see the issue. Having sensible default settings is a worthy goal for a lot of reasons. > My standard setup sets > ADMIN_MEDIA_PREFIX to /admin-media/ As this exemplifies, having something other than /

Re: Suggestion: Better way to extend user table

2009-08-17 Thread Wes Winham
> This is actually pretty much exactly what I had before, it was horribly > slow! And somehow not nice since you always have to wrap the users > around and can't just use request.user... When you say that it was "horribly slow," does that mean you weren't using caching to skip the DB, or was it s