On Fri, 2006-07-28 at 12:57 -0700, Akatemik wrote:
> I got errors when user.get_profile returned None in my view. When
> trying the same in manage.py shell, I noticed that get_model doesn't
> find my profile model unless I have imported something from that
> models.py
>
> $ python manage.py shell
I got errors when user.get_profile returned None in my view. When
trying the same in manage.py shell, I noticed that get_model doesn't
find my profile model unless I have imported something from that
models.py
$ python manage.py shell
Python 2.3.5 (#2, Jun 13 2006, 23:12:55)
[GCC 4.1.2 20060613 (
2 matches
Mail list logo