syncdb
Django syncdb error
I have django.contrib.auth in my installed apps and everything was was working about 10 minutes ago. I deleted the existed database because I had problems with south migrations. When I try to rebuild[详细]
2023-03-01 16:26 分类:问答How Django skipping an app when using syncdb command
I have a Django project which has two apps (one created as debug test). For the debug test, syncdb does put the model in the database but for the other it does not.[详细]
2023-02-28 16:57 分类:问答WIth PyCharm, why is the PYTHONPATH when running a Django project different from when running the manage.py syncdb task?
Shouldn\'t it be the same by default?If not,开发者_StackOverflow is there some way to fix this so that the same PYTHONPATH is used?This may not be the ideal solution, but it works, and comes courtesy[详细]
2023-02-14 22:27 分类:问答Django syncdb can't find my apps
I\'m a django newbie and have been having a problem. In my project root I created a folder called \'local_apps\'and within it I put the app \'myapp\'. I updated the INSTALLED_APPS within settings.py[详细]
2023-02-14 00:45 分类:问答Django SYNCDB failes when adding super-user (Windows 7, mySQL, Django 1.2.4, mySQL 5.5)
syncdb fails when creating super user Django: v 1.2.4 Python: 2.6 MySQL Server: 5.5 Windows 7 Extra: MySQL-Python v1.2.3[详细]
2023-02-06 10:42 分类:问答manage.py syncdb error while Django model using non-ascii verbose_name
I am pretty new to Django. I want the name of my models to be displayed in Chinese, so i used verbose_name in my meta class of my model, codes below:[详细]
2023-01-15 15:51 分类:问答Django unit-testing with loading fixtures for several dependent applications problems
I\'m now making unit-tests for already existing code. I faced the next problem: After running syncdb for creating test database, Django automatically fills several tables like django_content_type or[详细]
2022-12-24 04:08 分类:问答Why Django does not create full table from a model?
I have 2 models. I run manage.py syncdb bu开发者_C百科t it creates only id fields for 2 models. How to make it generate the remaining fields? Please kindly advise. Your help is much appreciated![详细]
2022-12-20 02:06 分类:问答Django can't syncdb after drop/create database
I wanted to reset a database and issued a drop database followed by a create database on a postgresql server accessed through psycopg2 by a django app.[详细]
2022-12-17 18:13 分类:问答