Re: Have get_profile() delegate to one of several profile models depending on type of user

2008-02-01 Thread Chris Pratt
d to my app. I could get rid of the hackiness of my solution here, but that approach seems to have problems of its own. Chris Pratt On Jan 29, 4:00 pm, forgems <[EMAIL PROTECTED]> wrote: > What is the criteria in the User model that gives you users profile > model ? If you don't

Have get_profile() delegate to one of several profile models depending on type of user

2008-01-28 Thread Chris Pratt
the User model, but this feels wrong. What would be considered best practice here? Thanks, Chris Pratt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: problems with auth...

2008-01-15 Thread Chris Pratt
~/webapps/[your_project]/apache2/conf/httpd.conf, and verify that the PYTHONPATH environment variable includes the path to the instance of Django you are using. That seems like the most likely culprit. Chris Pratt On Jan 15, 3:58 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > I've got two dja

ImportError: No module named base

2008-01-15 Thread Chris Pratt
in:/ usr/local/bin:/usr/X11/bin (in ~/.profile) PYTHONPATH = /opt/local/lib/python2.5/site-packages/django (in ~/.profile) DATABASE_ENGINE is set to 'sqlite3' in my project's settings.py. I have verified that the file /opt/local/lib/python2.5/site-packages/ django/django/db/backends