get_profile not working (get_model returns None)

2009-01-08 Thread Hans Fangohr
Dear all, I have difficulties with the get_profile to link my Profile class with the inbuilt User object. The error message (which can be obtained through the 'chatroom' view shown below, or via the shell) is: ---

Re: get_profile not working (get_model returns None)

2009-01-08 Thread Hans Fangohr
Dear Karen, On 9 Jan 2009, at 00:35, Karen Tracey wrote: > On Thu, Jan 8, 2009 at 6:24 PM, Hans Fangohr <h.fang...@soton.ac.uk> > wrote: > > > Dear all, > > I have difficulties with the get_profile to link my Profile class with > the inbuilt User object. &g

Re: get_profile not working (get_model returns None)

2009-01-09 Thread Hans Fangohr
Dear Karen, On 9 Jan 2009, at 04:34, Karen Tracey wrote: > On Thu, Jan 8, 2009 at 11:19 PM, Hans Fangohr > <h.fang...@soton.ac.uk> wrote: > > You are right: using 'People.profile' works. To be clear (for > others): the application name should (in contrast to

Can I get the request object into the django.contrib.auth.views.password_change view template?

2009-01-19 Thread Hans Fangohr
Dear all, a beginner's question: I have added these entries into a django project in the urls.py: (r'^accounts/password_change/$', django.contrib.auth.views.password_change), (r'^accounts/password_change_done/$', django.contrib.auth.views.password_change_done), and I have provided

Re: Can I get the request object into the django.contrib.auth.views.password_change view template?

2009-01-20 Thread Hans Fangohr
Hi Malcolm, On 20 Jan 2009, at 02:33, Malcolm Tredinnick wrote: > > On Tue, 2009-01-20 at 02:07 +, Hans Fangohr wrote: > [...] >> However, in the template files, I extend my base.html which makes use >> of the request object (basically checking whether the request ha