On Feb 8, 2008 5:11 AM, bobhaugen <[EMAIL PROTECTED]> wrote:
>
> To summarize, it is possible (altho I don't know how well-recommended)
> to dumpdata, change models, delete and recreate the database using
> syncdb, and then loaddata, without touching SQL.
This approach is database intensive if yo
Ok, I figured out the problems:
1. I turned on the verbose option to get some error messages: python
manage.py loaddata mytest1.json --verbosity=2
2. I had my fixtures directory under my project, and not the app.
When I moved it to be under the app, loaddata found it.
3. When I did dumpdata, i
See schema migration tools for django:
http://code.djangoproject.com/wiki/SchemaEvolution
On 7 фев, 20:40, bobhaugen <[EMAIL PROTECTED]> wrote:
> I am trying to evolve a Django project in piecemeal-growth fashion.
>
> I was happy to learn that I cd easily add tables to an existing model
> using s
I am trying to evolve a Django project in piecemeal-growth fashion.
I was happy to learn that I cd easily add tables to an existing model
using syncdb, but now I want to add a field.
I read Django Fett's post about how to do it in this group, but I
cheated a little (see below excerpt). He wrote
4 matches
Mail list logo