django db api: looking for "not-in select

2006-10-04 Thread Ulrich Nitsche
hi, in the docs I found a method to run a query like this: MyObj.objects.filter(id__in=[1, 3, 4]). My question is if there is a "negative" to this like the following raw sql "SELECT xxx FROM mytable WHERE xxx NOT IN (1, 2 ,4);" Is there any hint in the docs that I missed? Thanks uli _

two models -> one form -> addmanipulator

2006-09-22 Thread Ulrich Nitsche
hi, i have two models (tables) concerning user data which belong together. Now I would like to use one single form to display and edit these values. Is there a way to use one changemanipulator to do this? Or if this is not possible is there a way to use different changemanipulators at the same ti

Extending the user model raises error: ImproperlyConfigured

2006-07-15 Thread Ulrich Nitsche
Hi, in need of an extended user model I followed the little tutorial on http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model: 1. I created a model 2. I added AUTH_PROFILE_MODULE ='my_apps.my_model_name' to my setting But when I try to get the data from my extension (like u.