Re: RequestContext in Generic Views?

2007-12-17 Thread gtaylor
Sorry for the spam, looks like I can just grab the messages via {{request.messages}} from within the templates. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: RequestContext in Generic Views?

2007-12-17 Thread gtaylor
I know this has been asked a few times and the answer seems to be that this is already included in generic views by default, but it's just not showing anything in my {{messages}} variable on all of my generic views. If i send messages and go to a regular page that's rendered with render_to_respons

RequestContext in Generic Views?

2007-12-17 Thread gtaylor
Hello, I'm fairly certain this is a really easy thing I'm just not understanding. I have some generic views that I want to pass a RequestContext(request) object, but I'm not exactly sure how to do so. I've been passing a RequestContext to all of my other pages using render_to_response(), but I do

Re: Bumfuzzled Relations

2006-06-09 Thread gtaylor
I managed to get the field to show up properly on the admin interace by making both fields ForeignKeys, but when I select a school in the 'Change User' page and hit 'Save and Continue Editing', I look down at the field and it's blank again. The model's table is also empty. Any idea on this? --~-

Bumfuzzled Relations

2006-06-09 Thread gtaylor
ular views. I suspect things are going to be fine outside of admin land, but I'm running into a problem. Check out this screenshot: http://gis.clemson.edu/~gtaylor/shot.png With any number of schools defined, I'm only seeing the "User" header and some static text indicating t