Hi, I'm getting the same issue. I'm running Django 1.7.6, and ran 
"mezzanine-project blog" from the directory of a pre-exisiting django top 
level directory, with its own manage.py. I've copied these database 
settings across from the original apps settings.py so that the same mysql 
DB can be used.

DATABASES = {
    'default': {
       'ENGINE': 'django.db.backends.mysql',
       'OPTIONS': {
           'read_default_file': '/etc/mysql/my.cnf',
       },
    }
}


On Saturday, 13 February 2016 16:11:50 UTC, Kenneth Bolton wrote:
>
> Please provide the specifics of your situation, including the commands run 
> before the `createdb`.
>
> On Thu, Feb 11, 2016 at 11:27 PM, <[email protected] <javascript:>> 
> wrote:
>
>> python manage.py createdb
>> Traceback (most recent call last):
>>   File "manage.py", line 14, in <module>
>>     execute_from_command_line(sys.argv)
>>   File 
>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
>> 385, in execute_from_command_line
>>     utility.execute()
>>   File 
>> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
>> 354, in execute
>>     django.setup()
>>   File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 21, in 
>> setup
>>     apps.populate(settings.INSTALLED_APPS)
>>   File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 
>> 108, in populate
>>     app_config.import_models(all_models)
>>   File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 
>> 202, in import_models
>>     self.models_module = import_module(models_module_name)
>>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in 
>> import_module
>>     __import__(name)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/mezzanine/generic/models.py", line 
>> 20, in <module>
>>     class ThreadedComment(Comment):
>>   File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 
>> 168, in __new__
>>     new_class.add_to_class(obj_name, obj)
>>   File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 
>> 297, in add_to_class
>>     value.contribute_to_class(cls, name)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/mezzanine/generic/fields.py", line 
>> 77, in contribute_to_class
>>     extant_fields = cls._meta._forward_fields_map
>> AttributeError: 'Options' object has no attribute '_forward_fields_map'
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to