Re: Error:'Model' object has no attribute '_meta'

2006-11-19 Thread halmcelroy
Ooops :) Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTEC

Error:'Model' object has no attribute '_meta'

2006-11-19 Thread halmcelroy
This is a pretty basic model: from django.db import models class A(models.Model()): a = models.CharField(maxlength=1000) b = models.CharField(maxlength=1000) def __str__(self): return self.a class User(models.Model()): username = models.CharField(maxlength=50) def __s

login requires only one argument?

2006-08-17 Thread halmcelroy
It seems the api for the login method has changed. When I try to use the login method like so: login(request,user), I get an error that login has just 1 argument, and 2 are provided. When I provide just the request object to the login method, then it goes into infinite recursion Here is the stac