Re: template designer needed

2011-10-05 Thread David Koblas
Have you considered 99designs? --david On 10/5/11 7:38 AM, ApogeeGMail wrote: Good Morning: I am looking for a Django template designer for a very short project. I will need 5 pages, the design is done( using Photoshop). I will need a set of templates to implement the layouts. I will provi

Re: Chat application in Django

2010-09-01 Thread David Koblas
Two challenges with long polling and Apache/mod_python - * First is that you'll need to have N-user connections open at a minimum based on the number of users you have using the system simultaneously. Thus your memory footprint and performance is going to suffer as the number of users increa

Re: Chat application in Django

2010-08-31 Thread David Koblas
Funny you should ask -- The basic challenge with any chat application is the long polling bit, django by default isn't really designed to handle that. Other servers (Tornado, etc.) are much better at handling the long polling cycle that typical web chat applications require. I was just fin

fcgi vs. manage.py runserver and URI handling

2010-08-24 Thread David Koblas
I've got a production and a dev instance of my system, what I'm seeing is the following. For the URL: /tags/Cell%20Tower and the urls.py rule of: url(r'^tags/(?P.*)', 'tags', name='tags'), In the lighttpd proxying to a port on ./manage.py runserver I get tag = Cell Tower When

Re: Is {% cycle ... as ... %} supposed to output a value?

2010-07-07 Thread David Koblas
As somebody who ran across this bug a few weeks ago (using comment to capture the output). I _really_ wish the behavior would die. Personally I would be in favor of dropping output when there is an "as" attribute, if somebody depends on it in the 1.3 timeframe there could be a setting that w

proposal: subclass generation of forms

2010-05-07 Thread David Koblas
[Not quite sure where the right place is to post this] The general problem is that I would like to change the default output of forms across my site to have a consistent presentation that isn't of one as_p(), as_table(), or as_ul(). What I wanted to do was to add a quick function as_div() as

Re: propagating values up the template chain

2010-04-21 Thread David Koblas
I'm doing that in a few other place (setting the page title, for example). The problem is that I would like to have the extended inside of a block and potentially conditionally (e.g. only include this JavaScript if you're not logged in). --koblas On 4/21/10 4:29 PM, Tim Shaffer wrote: Can y

propagating values up the template chain

2010-04-21 Thread David Koblas
I ask this question knowing that it's almost anti-django template patterns, but I ask after spending the last few hours trying to figure a way to shoe horn this functionality in. The basic idea is that I would like to say something like this: {% extends "base.html" %} {% block content %} {%

Blocking services in django

2009-12-09 Thread David Koblas
I'm trying to get a better understanding of django performance in a production setting. Specifically I've seen notes that say that operations like sending mail will block all production traffic to your server for the duration of the send. That got me thinking about other backend calls, like se

App/Project naming - best practices

2009-09-30 Thread David Koblas
Just currious what people are doing for "best practices" in the realm of building apps. Specifically I have a tendency to create a lot of "one-off" websites (e.g. Django App) and use a few standard apps across all of them. What catches me up all of the time is naming systems. If I was to cre

Re: Using email instead of username in extended "User" model?

2009-08-02 Thread David Koblas
Just to add my $0.02 cents to this, I too would like a better way to extend django.contrib.auth.models.User than the current approach. The two biggest "problems" that I have are: * Everything depends on django.contrib.auth.models.User -- which means that while you could swap out your authenti

FormWizard and ChoiceFields

2008-10-28 Thread David koblas
I've recently discovered FormWizard -- trying to replace my own "Wizard" in some code. I've got the following flow -- roughly : 1) authentication info (username/password) 2) use auth info to get a list of things -- present list in choice field... 3) given that choice, present anothe

Recursively rendering in template

2008-09-24 Thread David Koblas
I'm not sure if this is possible to do without writing a templatetag (ok, that's my theory). Basic idea is that I have a tree structure that I want to render into a template, the one example that I found pre-rendered a template into a template variable and then rendered it into the page. What