django-syncdb
How can I drop the tables and syncdb for just one app in my Django project?
I have a Django app deployed on DjangoZoom. People have been signing up, so there are users in that database.[详细]
2023-04-06 10:57 分类:问答Do I need to call syncdb before or after South migrate
I\'m new to South so I am wondering if I ever need to call ./ma开发者_Python百科nage.py syncdb or doing[详细]
2023-03-12 10:11 分类:问答Django: Force table creation order on syncdb
I have a Profile model that is used to define a profile for a User from the auth application. Also, I have a signal that will create an empty profile each time a user is created.[详细]
2023-03-07 17:39 分类:问答Problem running syncdb in django
I am trying to go through the django docs tutorial and having a problem syncing mysql.On the command python manage.py syncdb I get the following error (note I\'m running in windows 7):[详细]
2023-03-07 03:32 分类:问答syncdb ignores imported models
I have a project, structured like this: project/ __init__.py db/ models/ __init__.py article.py project.py ontology/[详细]
2023-02-25 17:39 分类:问答Django: application skipped in syncdb
I h开发者_如何转开发ave several applications declared in settings.py: INSTALLED_APPS = ( \'django.contrib.auth\',[详细]
2023-02-22 09:03 分类:问答Django: app_label problem when declaring base models outside models.py
I have an abstract Container class which allows derived models to hold some content blocks 开发者_如何学JAVAsuch as images, text, etc., which are also separate models. For db tidiness, I want tables f[详细]
2023-02-06 08:37 分类:问答Django - Running custom method on syndb command
开发者_Go百科I\'m wondering if there is a way to run a custom method when syncdb is executed. What I am trying to accomplish is to load a mail template into the database. As I need nearly the same tem[详细]
2023-02-03 14:33 分类:问答Django post_syncdb signal handler not getting called?
I have a myapp/management/__init__.py that i开发者_JAVA百科s registering a post_syncdb handler like so:[详细]
2023-01-30 03:07 分类:问答how to use manage.py syncdb outside of Django project, such as in Tornado?
I was looking through http://lincolnloop.com/blog/2009/sep/15/using-django-inside-tornado-web-server/ and I thought it was interesting and useful to use parts of Django if we need it in Tornado.[详细]
2023-01-29 23:23 分类:问答