Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually

I think this has something to do with “The removal of ContentType.name“, according to this. But somehow it doesnt work. By manually removing the column name from ‘django_content_type’ table. Eg. ‘ALTER TABLE django_content_type DROP COLUMN name’ I was able to apply the migrations. Maybe this can get you a little bit further at least.

Not able to create super user with Django manage.py

If you run $ python manage.py createsuperuser Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser in your project to create one manually. from Git Bash and face the above error message try to append winpty i.e. for example: $ winpty python manage.py createsuperuser Username (leave blank to use … Read more

What should I use instead of syncdb in Django 1.9?

syncdb is deprecated because of the migration system, introduced with django 1.7. Now you can track your changes using makemigrations. This transforms your model changes into python code to make them deployable to another databases. When you have further modifications you need applied to the database, you can use data migrations. After you created the … Read more

Update to Django 1.8 – AttributeError: django.test.TestCase has no attribute ‘cls_atomics’

I believe the reason is that your setUpClass(cls) class method is not calling super. Because of that, django.tests.TestCase.setUpClass is not called and cls.cls_atomics = cls._enter_atomics() is not called, naturally causing cls_atomics to be undefined. You should add super(ATestTests, cls).setUpClass() to your setUpClass.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)