l template, but can't figure out how I would do
that unless the original template was on disk somewhere - which isn't
a fun option. Any pointers?
handsome greg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Ok here's another quick question. How can I catch a DB connect that
fails and perform some kind of action (display a "sorry... site's
down" page, etc.) if the DB isn't available? I can't seem to figure it
out. Thanks!
--~--~-~--~~~---~--~~
You received this messag
Hey dudes, I read James's blog post (http://www.b-list.org/weblog/2006/
jun/06/django-tips-extending-user-model/) about extending the User
model and the relative futility of the now defunct replaces_module()
function. My question is this: I have a legacy db with a users table.
My table actually fi
Oh, looks like maybe I can do this with a custom metaclass for my
model. I'll just use it to tack on custom formfield() methods to my
_meta.fields list for the model. Make sense?
On Jun 14, 9:35 am, handsome greg <[EMAIL PROTECTED]> wrote:
> Hi guys, quick question: There'
Hi guys, quick question: There's no current way to specify how model
fields are mapped to form fields for a model with
newforms.form_for_model is there? I know you can change the formfield
callback but the model doesn't impact that function in any way by
default. What I'm looking for is a way for
5 matches
Mail list logo