session logout not being deleted

2008-06-21 Thread ristretto . rb
I've noticed a couple posts on this subject, but I don't understand what's going on. Can someone please explain. The docs say "When a user logs in, Django adds a row to the django_session database table. Django updates this row each time the session data changes. If the user logs out manually,

How to validate for duplicate users?

2008-06-21 Thread ristretto . rb
I have a form like this What is the best way to validate for an already existing User when using the django.contrib.auth.models.User and the new forms authentication system? Overiding Form.clean(), and adding some uniqueness validation code works, but binds the form to the DB. There's not much

Re: How to validate for duplicate users?

2008-06-21 Thread ristretto . rb
ok, just wanted to make sure it wasn't something that User.save() or whatever would for me. I thought since User defines 'username' and sets it as unique, then it would validate that and possibly raise an Error for clients (like Forms) to catch. I'll impl that in my subclasses form. Thanks. O

Do you code django with Komodo?

2008-06-24 Thread ristretto . rb
Hello, Do you code python/django in Komodo? Care to share your bookmarks? And tips on how to set it up to get the most out of Komodo for django dev? Do you use the Editor or the IDE? I'm new to django and python, and based on some research on this site, I started looking into the Komodo Editor

Re: Do you code django with Komodo?

2008-06-24 Thread ristretto . rb
I'm on Linux; I'm looking in the gEdit pluggins - looks very promising and simple, I never knew gEdit could be extended so much. I'm also looking at wingware's wingIDE now, which is not free at all, but looks very much worth the money from the marketing videos. On Wed, Jun 25, 2008 at 6:17 A

Re: Do you code django with Komodo?

2008-06-25 Thread ristretto . rb
Ok, lot's of research and asking in some other places and I think I've come down to the two front runners in the category of "coders-who-want-more-than-vi-can-give": Komodo IDE or WingIDE. I've now heard of and in some cases tried (I run Linux): Eclipse, IDLE, Eric, jEdit, gEdit, vi, emacs, and

Re: Development environment

2008-06-25 Thread ristretto . rb
If you like syntax colors and code intelligence features, try Komodo or WingIDE If you know django and python really well perhaps vi is worth a look If you have a favorite text editor, you might be able to build a suitable development editor by change preferences, and adding plugins. I'm curren

In admin, unable to save many-to-many relation objects with intermediate table

2008-07-08 Thread ristretto . rb
Hello, I'm stuck. Any help will be much appreciated. I followed http://www.djangoproject.com/documentation/models/m2m_intermediary/ to make a Many-to-many relationship via an intermediary table. class LeftSide(models.Model): : class RightSide(models.Model): : class JoinTable(models.Model):

Re: In admin, unable to save many-to-many relation objects with intermediate table

2008-07-08 Thread ristretto . rb
x27;jointable.0.id': [u'Join Table record with this ID already exists.']} when I tried to save a LeftSide records with existing associations. thanks for any and all help. On Wed, Jul 9, 2008 at 1:09 PM, ristretto. rb <[EMAIL PROTECTED]> wrote: > Hello, I'm stuc

Possible bug in walk_items, django admin delete confirmation use case

2016-04-28 Thread ristretto . rb
Hi, On Django 1.8 (at least, all I can currently check.) The method walk_items at django/template/defaultfilters.py:682, uses a look ahead that technically doesn't always work. If you look at the function, and notice at the end this if next_item: yield next_item, None That will yield back