Re: Model vanishes from Admin

2006-06-23 Thread Waylan Limberg
First, make sure it is listed in the installed apps in your settings file. Then, make sure the Admin() innerclass is defined in the model (and that is has proper whitespacing etc.) On 6/23/06, Steven Ametjan <[EMAIL PROTECTED]> wrote: > > I'm not quite sure how it happened, but one of my models d

Re: Model vanishes from Admin

2006-06-23 Thread arthur debert
Hi Steven. this one got me stuck for hours (grin). if your INSTALLED_APPS is right and your admin inner class too, you probably have an error on an import on your model class. fire up the shell on your server setup. can you import your model module? --~--~-~--~~~---

Re: Model vanishes from Admin

2006-06-24 Thread Russell Keith-Magee
On 6/24/06, arthur debert <[EMAIL PROTECTED]> wrote: > this one got me stuck for hours (grin). > if your INSTALLED_APPS is right and your admin inner class too, you > probably have an error on an import on your model class. FYI - To help avoid this problem in the future, I have just committed a

Re: Model vanishes from Admin

2006-06-24 Thread arthur debert
Hi Russel. Thanks for the patch. I am sure this one will save newbies a few hours of starting blankly at the screen. cheers Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Model vanishes from Admin

2006-06-24 Thread merlin903
Not sure if this makes a difference or not, but when I run "manage.py validate" it says that there are 0 errors... and like I said originally... The files on my production server are an exact mirror of what is on my dev server. My models shows up on the dev's admin screen, just not on the producti

Re: Model vanishes from Admin

2006-06-25 Thread Russell Keith-Magee
On 6/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Not sure if this makes a difference or not, but when I run "manage.py > validate" it says that there are 0 errors... and like I said > originally... The files on my production server are an exact mirror of > what is on my dev server. My

Re: Model vanishes from Admin

2006-06-25 Thread Malcolm Tredinnick
On Sat, 2006-06-24 at 23:57 -0700, [EMAIL PROTECTED] wrote: > Not sure if this makes a difference or not, but when I run "manage.py > validate" it says that there are 0 errors... and like I said > originally... The files on my production server are an exact mirror of > what is on my dev server. My

Re: Model vanishes from Admin

2006-06-25 Thread merlin903
Russell Keith-Magee wrote: > On 6/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Not sure if this makes a difference or not, but when I run "manage.py > > validate" it says that there are 0 errors... and like I said > > originally... The files on my production server are an exact mir

Re: Model vanishes from Admin

2006-06-25 Thread oggie rob
My guess would be caching or database discrepencies. Have you tried accessing the production database through the dev server? Also have you tried to delete .pyc files? -rob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Model vanishes from Admin

2006-06-25 Thread Russell Keith-Magee
Ok; here's a few more questions: 1) Update both servers again - has Malcolm's r3202 patch resolved anything? 2) If you run ./manage.py shell, then run: >>> from django.db import models >>> print models.get_apps() >>> print models.get_models() What do you get (on each server)? 3) Exactly how ha

Re: Model vanishes from Admin

2006-06-26 Thread [EMAIL PROTECTED]
Malcolm Tredinnick wrote: > On Sat, 2006-06-24 at 23:57 -0700, [EMAIL PROTECTED] wrote: > > Not sure if this makes a difference or not, but when I run "manage.py > > validate" it says that there are 0 errors... and like I said > > originally... The files on my production server are an exact mirro

Re: Model vanishes from Admin

2006-06-27 Thread [EMAIL PROTECTED]
Okay what solved my problem was removing imports of my models from urls.py. I had a few generic view wrappers that were short so I had just defined them in urls.py for now and that was causing a problem when django was launched from fastcgi or mod_python but not django-admin.py runserver. --~--~