Closed johnfelipe closed 11 years ago
Load the virtualenv and execute again the command: python manage.py syncdb --migrate
And check the output. The error that you paste is based on a syncdb problem
This is output:
(moocng)[root@felipeurrego moocng]# python manage.py syncdb --migrate
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 19 object(s) from 2 fixture(s)
Migrating...
Running migrations for djcelery:
- Nothing to migrate.
- Loading initial data for djcelery.
Installed 19 object(s) from 2 fixture(s)
Running migrations for tastypie:
- Nothing to migrate.
- Loading initial data for tastypie.
Installed 19 object(s) from 2 fixture(s)
Running migrations for contact:
- Nothing to migrate.
- Loading initial data for contact.
Installed 19 object(s) from 2 fixture(s)
Running migrations for badges:
- Nothing to migrate.
- Loading initial data for badges.
Installed 19 object(s) from 2 fixture(s)
Running migrations for courses:
- Nothing to migrate.
- Loading initial data for courses.
Installed 19 object(s) from 2 fixture(s)
Running migrations for teacheradmin:
- Nothing to migrate.
- Loading initial data for teacheradmin.
Installed 19 object(s) from 2 fixture(s)
Running migrations for api:
- Nothing to migrate.
- Loading initial data for api.
Installed 19 object(s) from 2 fixture(s)
Running migrations for categories:
- Nothing to migrate.
- Loading initial data for categories.
Installed 19 object(s) from 2 fixture(s)
Running migrations for peerreview:
- Nothing to migrate.
- Loading initial data for peerreview.
Installed 19 object(s) from 2 fixture(s)
Synced:
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.sessions
> django.contrib.sites
> django.contrib.messages
> django.contrib.staticfiles
> grappelli
> django.contrib.admin
> django.contrib.flatpages
> adminsortable
> tinymce
> compressor
> moocng.enrollment
> djangosaml2
> south
> moocng.media_contents
Migrated:
- djcelery
- tastypie
- moocng.contact
- moocng.badges
- moocng.courses
- moocng.teacheradmin
- moocng.api
- moocng.categories
- moocng.peerreview
How fix it
Tnks
Please tell me how fix this, tnks
i update today, but still problem
Tnks
johnfelipe, in the output that you shows does not appear any problem.
Reload your apache server and the database problem should go away.
Hi, i do this:
update setting.py with old and new features but this error happend:
Tnks