Hi,

I am setting up my first mezzanine based site and ran into some troubles 
using the mezzanine.accounts app. 
I have followed the steps about profiles and accounts in the mezzanine 
manual as found here <http://mezzanine.jupo.org/docs/user-accounts.html>. 

I have models.py in my app directory, and it looks like this:
so mydemoapp/models.py looks like this:

from django.db import models

class Users(models.Model):
    user = models.OneToOneField("auth.User")
    company = models.CharField(max_length=100)

So, basically, for now, extending the auth.User with a field called 
company. 

I added the lines to settings.py, i.e. include the mezzanine.accounts app 
in INSTALLED_APPS, and added 
ACCOUNTS_PROFILE_MODEL = mydemoapp.Users

When I run the server, I do get the login/signup/ and so on. However, when 
I register a new user, and hit the save button, or when I am logged in and 
click the account update (username link) I get an error that says:

django.db.utils.OperationalError: no such table: mydemoapp_users


As far as I understand this issue, the table related to my Users model is 
not found. Probably this is a very simple ommission, but I am a bit lost on 
how this happens. 

I note that although we create a class Users, and set the profile_model to 
mydemoapp.Users, it is looking for a table mydemoapp_users! Could this be 
the problem?


Any thoughts,

Thanks. 

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to