How to use next with comments?

2009-05-27 Thread Kevin Fullerton
I'm working with django.contrib.comments at the moment, and so far most things are working as expected. I'm building the submission form using {% get_comment_form for object as form %} and have added the following as part of the form As I understand it, that should force comments to redirect t

Re: How to use next with comments?

2009-05-28 Thread Kevin Fullerton
On Thu, May 28, 2009 01:50, Eric Abrahamsen wrote: > > On May 28, 2009, at 4:02 AM, Kevin Fullerton wrote: > >> >> I'm working with django.contrib.comments at the moment, and so far >> most >> things are working as expected. > > It's a known p

Re: How to use next with comments?

2009-05-28 Thread Kevin Fullerton
On Thu, May 28, 2009 14:31, Eric Abrahamsen wrote: > > The default comment form does not include a next parameter, so if you > don't override the builtin comment templates you won't get any next > parameters in the forms. The most sure way of doing this is using a > custom comment form with a ne

Anonymous Users/Session in Template

2006-06-23 Thread Kevin Fullerton
Hi,   I've searched through the documentation and the mailing list, and can't see anywhere that describes how to get the user object (for logged in or anonymous users) available in templates through the {{ user }} template tag.   Can anyone point me in the right direction?   Many thanks   K

RE: Anonymous Users/Session in Template

2006-06-23 Thread Kevin Fullerton
Hi, I've got 'django.contrib.sessions' and 'django.contrib.auth' in my INSTALLED_APPS, and 'django.contrib.sessions.middleware.SessionMiddleware' in MIDDLEWARE_CLASSES I'm running from the svn version of django which is up to date. I'm using render_to_response from django.shortcuts for processi

RE: Anonymous Users/Session in Template

2006-06-24 Thread Kevin Fullerton
Of Jay Parlar Sent: 23 June 2006 22:42 To: django-users@googlegroups.com Subject: Re: Anonymous Users/Session in Template On 6/23/06, Kevin Fullerton <[EMAIL PROTECTED]> wrote: > > Hi, > > I've got 'django.contrib.sessions' and 'django.cont

Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
17. return {  AttributeError at /accounts/  'WSGIRequest' object has no attribute 'user'   Anyone else seeing this or know what the problem is?   Cheers   Kevin Fullerton   --~--~-~--~~~---~--~~ You received this message because you are su

Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
17. return {  AttributeError at /accounts/  'WSGIRequest' object has no attribute 'user'   Anyone else seeing this or know what the problem is?   Cheers   Kevin Fullerton   --~--~-~--~~~---~--~~ You received this message because you are su

RE: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
@googlegroups.com Subject: Re: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend" On Mon, 2006-06-26 at 11:45 +0100, Kevin Fullerton wrote: > Hi, > > I run off the SVN version of Django - updated to the latest version > this morning and get th

JS for TimeField

2006-06-29 Thread Kevin Fullerton
Hi,   If I define a models.TimeField in my model, the admin interface automatically generates the JS for popping up the time selection box - my question is do I have to edit the JS directly if I want the options given (Now, 6am, Noon, Midnight by default) to be different?   Many thanks   Ke