Re: Make changes to model...

2008-07-03 Thread Malcolm Tredinnick
On Thu, 2008-07-03 at 17:09 +0200, TiNo wrote: > The Meta class is to change the Model name, but Chris wants to change > the app name, not? > I don't think you can do that. You're right. I misread the mail. Changing the app name in the admin requires editing the template. Malcolm >

Re: Make changes to model...

2008-07-03 Thread TiNo
The Meta class is to change the Model name, but Chris wants to change the app name, not?I don't think you can do that. On Thu, Jul 3, 2008 at 2:53 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Wed, 2008-07-02 at 11:49 -0700, [EMAIL PROTECTED] wrote: > > Thanks guys. I know how to do

Re: Make changes to model...

2008-07-02 Thread Malcolm Tredinnick
On Wed, 2008-07-02 at 11:49 -0700, [EMAIL PROTECTED] wrote: > Thanks guys. I know how to do it via the admin, wasn't sure if I was > "missing" something within Django to handle it :) > > Kind of off topic, but say myapp is named myapp, then in the heading > the admin will be displayed Myapp

Re: Make changes to model...

2008-07-02 Thread mccomas . chris
Thanks guys. I know how to do it via the admin, wasn't sure if I was "missing" something within Django to handle it :) Kind of off topic, but say myapp is named myapp, then in the heading the admin will be displayed Myapp with the model items below it. Other than customizing the admin template

Re: Make changes to model...

2008-07-02 Thread TiNo
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)

Re: Make changes to model...

2008-07-02 Thread Oscar Carlsson
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:

Make changes to model...

2008-07-02 Thread mccomas . chris
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