django password size

2006-12-28 Thread ad-hoc
I have the following simple form for user login, but it seems that the password field's size is ignored. Any one has seen this before? thanks. {%trans 'Username:' %} {% trans 'Password:'%} --~--~-~--

ContentType matching query does not exist

2006-12-24 Thread ad-hoc
I've been playing with django. I'm trying to get the model with its name by: django.contrib.contenttypes.models.ContentType.objects.get(model=modelname) where modelname is a string, but i'm getting the exception/error as above. Using the admin interface i can see/add/update instances for the