You can use the output of "python manage.py sql myapp" to see what the sql
ought to be and compare it with the curent state.

On 7/2/08, Oscar Carlsson <[EMAIL PROTECTED]> wrote:
>
> Unless you use django-evolution (
> http://code.google.com/p/django-evolution/ , which I don't know much
> about) you have to make these changes yourself, but usually it isn't that
> hard.
>
> There is information on how to make these changes in the django book,
> chapter 5:
> http://djangobook.com/en/1.0/chapter05/ ("Making Changes to a Database
> Schema")
>
> Oscar
>
> On Wed, Jul 2, 2008 at 2:49 PM, <[EMAIL PROTECTED]> wrote:
>
>>
>> Hello all,
>>
>> I'm using MySQL with Django, I setup my models and installed
>> everything, got into the admin panel and realized I left a field out.
>> I went back into my models file, added it, and it gives me an error
>> because while I guess the code realized it's there, that field wasn't
>> created in MySQL. Is there a way to do this, other than going in
>> through phpMyAdmin to do it?
>>
>> Thnx,
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to