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
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.
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
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
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
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:
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
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!
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.